-
-
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
English (Denmark) locale uses wrong date/time format #24134
Comments
Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :) |
Yes. In 21.0.2:
|
Many english locales are wrong. |
Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
Seems like it is due to moment.js not having a comprehensive list of locales. The solution would be to move to another date library that rely on the Intl API. |
sounds good to me |
@szaimen FYI moment.js development is being stopped. As they are suggesting, maybe we don't need moment.js anymore |
Nextcloud 25.0.3 and Calendar 4.4.2 still exhibit this behaviour, as in shows Sunday as the left column in the calendar, when first day of week is Monday (English - Australia) |
Nextcloud 26.0.2. Denmark locale is still wrong. |
This still seems to be an issue, nextcloud 28.0.2.5 |
The en_DK locale has always been a clever workaround for the lack of a proper locale that features:
Proof:
(Fun fact: This locale has nothing to do with Denmark, see https://unix.stackexchange.com/a/272665)
Selecting the
English (Denmark)
locale in Nextcloud 19.04.4 however gives you inferior mm/dd/yyyy and 12h time. This is undoubedly a bug.#15381 is related. #15457 and #14785 are NOT related, as this issue isn't about language, but date/time formats.
Thanks!
Server configuration
Operating system:
Debian Linux 10
Web server:
Apache 2.4.38-3+deb10u4
Database:
MariaDB 10.3.25-0+deb10u1
PHP version:
7.3.19-1~deb10u1
Nextcloud version: (see Nextcloud admin page)
19.0.4
Updated from an older Nextcloud/ownCloud or fresh install:
updated
Where did you install Nextcloud from:
integrated auto-installer/updater
Signing status:
No errors have been found.
Nextcloud configuration:
Client configuration
Browser:
Firefox 82.0.2
Operating system:
Linux
The text was updated successfully, but these errors were encountered: