Open picard74 opened 1 month ago
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. France locale, English(US) language. Tried English(UK) but still get everything in the wrong formats: m/d/y 12h.
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.
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?
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: nc30.settings.to.french.log
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 document creation into files other minor errors This should also resolve the calendar issue here.
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 document creation into files other minor errors This should also resolve the calendar issue here.
You seem to be talking about https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/1020 which involves setting protected $strictDynamicAllowedOnScripts
from true
to false
.
I did do that, because of the OnlyOffice upgrade incompatibility, but when OnlyOffice was updated, I reverted that and I now have protected $strictDynamicAllowedOnScripts = true;
, yet I still have the 12-hour calendar display issue. Was there something else you might have done?
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. When I open the calendar app, it always briefly shows in 12-hour format but switches to 24-hour format after a second.
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