-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug]: locale not displayed correctly #31890
Comments
"Week starts on" seems to coming up as Sunday for all locales, too, which is nonsense. The ISO standard is Monday |
Changing locale to en-au (Australia) and does not show Monday as first day of week. |
This comment was marked as resolved.
This comment was marked as resolved.
I'm on Nextcloud 25.0.2 at the moment, and I'm still seeing the calendar starting on Sunday when my locale is set to English (World), which claims to use Week Starts on Monday. |
I am on nextclound 25.0.2 - I will upgrade as soon as I can.... |
Nextcloud 25.0.4 and Calendar 4.4.2 still exhibit this behavior. |
Now on Nextcloud 27.0.0 and English (Australia) is putting the dates around the right way, though English (Europe) is still making it the US format, presumably because "Europe" doesn't match any particular country? |
Australia now shows DD/MM/YYYY, which is good in NextCloud 27 FYI: as a user, not an administrator, I do not know how to find out what version of NextCloud I am using! |
Bug description
Issue relates to the UI preview (https:///settings/user), not sure about the rest of the system.
The Nextcloud documentation refers to Momentjs locales.
When I check the e.g. UK momentjs locale, it seems to be close to the one I am looking for: dd-mm-yyyy, 24h, Monday. But, it is now shown/used as expected.
There are multiple issues:
the format shown for a country seems to change / is not updated in the UI
when I tried just now Canada showed as a preview “yyyy-mm-dd 12h Sunday” (before: Monday),
when I select Netherlands it shows 12h even though the momentjs locale is 24h,
when I select UK it shows up as dd/mm/yyyy 12h in the Nextcloud UI, instead of the momentjs dd-mm-yyyy 24h format.
the Nextcloud locale combines language and format, but the momentjs locale is for one specific language
E.g. momentjs Germany shows the days/months/relative time in German. So when I select in Nextcloud “English (Germany)” I expect Nextcloud picks from the German momentjs definition all the settings except the language related ones and from the English momentjs definition all the language related ones (names of days/months/relative time).
Steps to reproduce
Expected behavior
see bug description
Installation method
Official Docker image
Operating system
No response
PHP engine version
No response
Web server
No response
Database engine version
No response
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: