calendar icon indicating copy to clipboard operation
calendar copied to clipboard

24h clock gone all of a sudden when creating event - no changes made in Nextcloud

Open tessus opened this issue 10 months ago • 4 comments

Steps to reproduce

  1. open calendae
  2. 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.

tessus avatar Feb 22 '25 01:02 tessus

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?

rnwgnr avatar Feb 23 '25 12:02 rnwgnr

My nextcloud profile uses the only "sane" presentation of date/time. Even though it's not what I want.

Image

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:

Image

tessus avatar Feb 23 '25 20:02 tessus

Image

Is is very inconvenient. Especially if your event goes through 12:00.

pmslava avatar Sep 16 '25 07:09 pmslava

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.

muellert avatar Nov 18 '25 15:11 muellert

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.

NoName2Day avatar Dec 18 '25 10:12 NoName2Day