nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
968 stars 236 forks source link

Dates in event details seem to be in US timezone with other local and language selected #4802

Open Mikeasuras opened 1 year ago

Mikeasuras commented 1 year ago

Steps to reproduce

1.Set language to British English and Local to Australia/Brisbane to get the most consistent interface 2.Create an event 3.Look at the time and date in the monthly view and click it on to see the event details.

The dates/times are different, it shows 2:30 15th on the monthly view, but 8:30PM on the 14th(also in American format which is another bug!) image

Expected behavior

The time zones and locals are consistently used throughout the interface

Actual behaviour

They are entirely inconsistent throughout the whole interface, if you don't live in America it's unusable. Some dates/times depend on the users set language, other the set local, and others seem to be hard coded to some American timezone.

Date time formats should all be based on the set local. Timezone should all be based off the same reference.

Calendar app version

4.1.0

CalDAV-clients used

Davx5 and thunderbird

Browser

Firefox and Edge

Client operating system

Windows

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

25.0.2

Updated from an older installed version or fresh install

Fresh install

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

bureau2crea commented 1 year ago

Is this issue resolved?

ChristophWurst commented 11 months ago

If the event happens in a timezone other than the user's own timezone, the UI becomes tricky. Converting to the local time is not a good option IMO because as soon as you open the date picker, it would be the remote time again.

I propose to add text underneath the two time pickers that convert the selected date and its timezone to the user's date and timezone. This is similar to https://github.com/nextcloud/server/pull/35979.

Quick and dirty mockup:

image

ChristophWurst commented 11 months ago

Google Calendar for comparison

Bildschirmfoto vom 2023-10-06 09-54-50 Bildschirmfoto vom 2023-10-06 09-54-42

ChristophWurst commented 11 months ago

@jancborchardt @marcoambrosini @nimishavijay what shall we do?

Mikeasuras commented 11 months ago

@ChristophWurst

My issue was not using a remote and local timezone, and that causing confusion(but still needs to be clear in the interface), it was the interface was not using the timezone and locals I had selected in all cases.

Markoise commented 3 months ago

Hi there. Same thing on NC 29.0.2.

image

jancborchardt commented 3 weeks ago

@jancborchardt @marcoambrosini @nimishavijay what shall we do?

Agree with your research on Google Calendar:

Local time in small preview Remote time in detail view Timezone very obvious in detail view

Cause when viewing, only the local time is immediately relevant. But when editing, it needs to be obvious that it’s a different timezone. In the case when the event is not your timezone, I think it’s also good to write it out below (and to be able to change it) to make it more obvious than just the icon. @nimishavijay