-
Notifications
You must be signed in to change notification settings - Fork 241
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
Calendar in 12- hour format despite choosing 24- hour format region and locale #6359
Comments
Can you tell me both your language and locale please? |
Yes, language is German and Local is German (Deutschland) |
I'm also experiencing this after upgrading to Nextcloud 30. I've tried to set my personal locale settings to English (British), English (World), English (Europe), English (Canada), and nothing reverts it back to 24-hour time. I've also attempted to change my Language settings as well, with no update. |
Hallo. Can the issue with the hourly display be understood yet? Are there any updates regarding this issue? Thanks for your support. |
Same here after upgrading 29 -> 30. |
Unfortunately I had no luck reproducing this. I tried the following combinations: German (formally and informally) with US locale -> shows correct format for US datetime, switching back to German locale works Can you please check your logs for any errors when setting the locale in the Personal Settings section here? |
On 2024-10-03 04:16:55, Anna wrote:
Unfortunately I had no luck reproducing this. I tried the following combinations:
German (formally and informally) with US locale -> shows correct format for US datetime, switching back to German locale works
German with English (Switzerland) -> shows mm/dd/yyyy format, switching back to German and Austrian locale works.
The problem isn't with month, day, year, the problem is with 12hour
vs. 24 hour time.
Can you please check your logs for any errors when setting the locale in the Personal Settings section here?
![Image](https://github.com/user-attachments/assets/f04b5de8-5d02-4de4-9358-c5b70a2eed48)
If I set both of my options to German, as you show in your image, then
sure I get 24 hour time. However, I cannot read German. Previously, the
"Locale" setting of "English (Canada)" would also produce 24 hour time,
but no longer does.
|
Hi, Yes the little example in the settings page looks good, under the "locale" dropdown it is fine, but the "date of birth is not" :P Then in calendar it does not change anything, I am still stuck with m/d/y and am/pm when displaying events: Creating a new event is the same: Here are the logs when I tried to switch to French language but it didn't change the formats in calendar: |
Hello, I found the issue. Initially, with Nextcloud 30, there was a workaround related to OnlyOffice. It involved a temporary adjustment in ContentSecurityPolicy.php. Here, the value of "protected$strictDynamicAllowedOnScripts" was adjusted. I have reverted this adjustment in the config, which initially was supposed to fix a problem with OnlyOffice. As a result, I have resolved the following issues: 12-hour calendar display |
You seem to be talking about ONLYOFFICE/onlyoffice-nextcloud#1020 which involves setting I did do that, because of the OnlyOffice upgrade incompatibility, but when OnlyOffice was updated, I reverted that and I now have |
Hello, no, I haven't done anything else to solve the problem. Of course, reboot the entire instance afterward, but otherwise, it should run as it did before. |
On 2024-10-15 05:19:33, picard74 wrote:
Hello, no, I haven't done anything else to solve the problem. Of course, reboot the entire instance afterward, but otherwise, it should run as it did before.
Yeah, I did put that variable back and the entire instance was rebooted,
so I think there must be something else going on.
|
Steps to reproduce
1.Create calendar entry
2.Choose start time
3.Incorrect time format
Expected behavior
I expect a correct representation of the 24-hour time format.
Actual behaviour
I've encountered an issue where the times in the calendar are displayed in 12-hour format, despite setting the timezone to Germany. I've tried it on several Nextcloud instances, and the issue persists across all of them. The old trick of changing the region to Swiss German doesn't work anymore with Calendar version 5.0.
Calendar app version
5.0
CalDAV-clients used
No response
Browser
Firefox, google chrome
Client operating system
Windows 10
Server operating system
debian 12
Web server
Nginx
Database engine version
MariaDB
PHP engine version
Other
Nextcloud version
30.0.0
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
Nextcloud configuration
Web server error log
Log file
Browser log
Additional info
No response
The text was updated successfully, but these errors were encountered: