24h clock gone all of a sudden when creating event - no changes made in Nextcloud
Steps to reproduce
- open calendae
- create event
Expected behavior
show 24h time
Actual behavior
uses am and pm
Calendar app version
5.1
CalDAV-clients used
No response
Browser
No response
Client operating system
No response
Server operating system
No response
Web server
None
Database engine version
None
PHP engine version
None
Nextcloud version
No response
Updated from an older installed version or fresh install
None
List of activated apps
Nextcloud configuration
Web server error log
Log file
Browser log
Additional info
The usage of date and time in Nextcloud is very inconsistent.
It still isn't possible to use a format like YYYY-MM-DD hh:mm (24h, week starting on Monday).
At least until now the calendar app used the 24h from the personal settings when creating events. Now it doesn't anymore. It shows am/pm, which is extemly annoying because one has to select that sepeerately every single time.
Even the drop down box for time is gone. Now you have to enter it via keyboard.
I came across this behaviour as well https://github.com/nextcloud/calendar/issues/6750#issuecomment-2675279434
I assume this is related to a change mentioned here: https://github.com/nextcloud/calendar/issues/6750#issuecomment-2672872306
We migrated to the browser's native time picker recently and each browser has a slightly different input field.
Can you check what locale is set in your Nextcloud profile and what locale your browser uses?
My nextcloud profile uses the only "sane" presentation of date/time. Even though it's not what I want.
If the date was YYYY-MM-DD, it would be perfect. But at least it doesn't use a wacky* format like the US does. It surprises me every time that the US doesn't use minutes before the hours. ;-)
*It makes no sense that the week starts on Sunday unless you are in the Middle East or any other country where Friday and Saturday are off and you start work on Sunday. Don't get me started on imperial units.
Afaik there's no way to set the locale for Firefox, thus it uses the one from the OS:
Is is very inconvenient. Especially if your event goes through 12:00.
Problem persists in Calendar 5.5.7. This is very ugly, as it is a bit difficult to get the dates and times right. I was wrestling with that when an appointment fell on the 12pm mark, and ran into several "Saving event failed" errors which forced me to delete and re-create the event. Using a 24h clock would have made this much easier. Imho, this should be a configuration item in the personal profile, independent of other locale settings. If possible, I'd like to just use ISO date and time.
Up one, still an issue in 5.5.10, This bug has been in here for quite some time. And has caused wrongly created appointments due to the 12h noon or night issue.
If this could be fixed, it would be really really nice.