-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't set date/time format to %Y-%m-%d %H:%M:%S
#15381
Comments
Thanks for the info. Yes, it looks like they are related, but I don't think that either of those would solve my problem, since there's no locale which has the format |
@tessus So isn't this rather a feature request for setting a custom datetime format than a bug? |
@wiswedel I'd usually agree, but not when it comes to the most standardized format ever - ISO 8601. |
Let's not argue about labels. Which way do you want to proceed with?
|
I don't care as long as the time/date format is |
@wiswedel But you should be aware that "labelling" this as a feature request is pretty much the same as closing this issue. Since I'm not a paying customer this won't be looked at. I'll ping you in 3 years and ask you about this issue. |
@tessus Just keeping it labelled as "bug" doesn't speed up things either. But here's the upside: Feel free to contribute the feature yourself. You seem pretty fit to do so. This is open source and not MS Office, you don't have to wait for "the company" to catch up with your request 😉 |
@wiswedel I would, but I have no idea where to start. The code base is huge and I'm not a javascript person. I know how to code in PHP, but I have no idea how that is glued to the UI with JS. I've been meaning to write 2 nextcloud apps for a while now, but without any help this is impossible, especially since JS is required. So I doubt that I'm much of any help at all. |
CC @schiessle |
ping |
duplicate of #15457 |
@wiswedel you made a mistake. my ticket can't be a duplicate of something that was created after mine. |
@tessus No reason to react offended, is it? Just doing some housekeeping on the tickets and breaking down stories in order to get them addressed as efficiently as possible - which should be in everyone's interest. |
@wiswedel Offended? I was stating a fact. Are you offended by me asking you, if you understood causality and/or sequence theory?
I'm not denying that. I'm just saying that my issue can only be a duplicate of something that had been created before my issue. Seriously, what is this? Kindergarden? Any logical thinking person would have said: "Thanks for pointing this out, re-opened the issue, and closed the real duplicate." Deflecting doesn't make it any better. I get it that you might think that there's an undertone. There isn't. It's just plain facts. Period. (If I told you that it was a sunny day, would you interpret it as if I didn't enjoy the sun?) P.S.: Anyway, do what you want. It's not gonna change anything anyway. Hmm, maybe in a few years this will be sold as a great new feature. Until then, people can't use the format that makes the most sense (by eliminating any possibilitty of ambiguity). I'm sorry but the current SW design is a joke and what's more embarrassing is that it isn't even recognized. |
Denmark locale should have %Y-%m-%d %H:%M:%S format, but for some reason it has %m/%d/%Y format. |
$ LC_TIME=en_US.UTF-8 date LC_TIME=en_DK.UTF-8 date |
You're right, @redmosaic . For this reason I've just opened #24134, which addresses this. |
This is all very nice, but I think it is very strange that there's no single locale that allows me to have an ISO date format with a 24h clock + Monday as the start of the week. IMO this is ridculous. Most SW allows me to set the date/time preferences manually. Nextcloud, which I wsa told is the greatest and best, can't do it? And then my issue is closed in favor of a ticket that was created AFTER mine, which does not even address the bug I have opened. Another proof of mismanagement and wrong priorities. |
There was a statement during the virtual Nextcloud event where someone said that basic features are ignored and long-standing issues concerning the core are not addressed. @karlitschek looked perplexed and didn't know what was meant by that. |
Steps to reproduce
%Y-%m-%d %H:%M:%S
eg.:2019-04-07 16:07:17
and week starting Monday
/ref https://help.nextcloud.com/t/language-locale-mixup/51123
Expected behaviour
It should be possible to set date/time format as
%Y-%m-%d %H:%M:%S
and the starting day of the week to Monday.Actual behaviour
It is not possible to set the date/time format as
%Y-%m-%d %H:%M:%S
and the starting day of the week to Monday.Context
It seems that certain apps make use of the
locale
setting. However, the Files app does not (The date looks different when hovering over the relative modification time.)But the calendar app uses the start day and the date/time setting.
Either way, it is very annoying that I can't set the date and time to the most standarized format ever: the ISO format. The only way seems Esperanto, but then the language in the calendar changes as well. So somehow there's a weird mixup of language and locale.
Server configuration detail
Operating system: Linux
Webserver: Apache/2.4.39
Database: mysql 5.6.25
PHP version:
7.2.18
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, gnupg, SPL, hkct, ibm_db2, iconv, session, intl, json, mbstring, standard, mysqlnd, pcntl, PDFlib, mysqli, PDO, pdo_ibm, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, imap, shmop, SimpleXML, sockets, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, zip, cgi-fcgi, apcu, imagick, mongodb, igbinary, sodium, redis, mcrypt, luasandbox, Zend OPcache
Nextcloud version: 15.0.7 - 15.0.7.0
Updated from an older Nextcloud/ownCloud or fresh install: updated from 14.0.10
Where did you install Nextcloud from: updater.phar
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: No
Client configuration
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0
Operating system: macOS 10.14.4
Logs
Nothing in the logs.
The text was updated successfully, but these errors were encountered: