Skip to content
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

Incorrect Time for Events - Modal and FullCalendar view differ #5031

Open
JordanDIG opened this issue Feb 28, 2023 · 11 comments
Open

Incorrect Time for Events - Modal and FullCalendar view differ #5031

JordanDIG opened this issue Feb 28, 2023 · 11 comments
Labels
2. developing Work in progress bug

Comments

@JordanDIG
Copy link

Steps to reproduce

  1. Add a subscription by link
  2. Click on an event

Expected behavior

Let the time be right.

Actual behaviour

Once a subscription by link added the time displayed on the calendar is correct but when you click on the map the event is one hour earlier.

Calendar app version

4.2.4

CalDAV-clients used

No response

Browser

Chrome 110

Client operating system

Windows

Server operating system

Debian 11

Web server

Apache

Database engine version

None

PHP engine version

PHP 8.1

Nextcloud version

25.4.0

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

@JordanDIG JordanDIG added 0. to triage Pending approval or rejection bug labels Feb 28, 2023
@JordanDIG
Copy link
Author

image

@JordanDIG
Copy link
Author

I checked the problem comes from the calendar of nextcloud because with Google Calendar I do not have this problem.

@KoMa1012
Copy link

KoMa1012 commented Apr 2, 2023

also happens with non subscription calendars, all my entries beginning June 2023 are off by one hour. This is one example:
Wrong Calendar Time
I double checked with the Calendar synced to my iPhone, iPhone also shows wrong times! But at lest it shows the same time for edit and display!
Editing the entry in the calendar (app in nextcloud) doesn't hep the issue, it will always be one hour off. Editing it with the iPhone will fix the issue.

Just found one calendar entry that doesn't have this issue, same calendar, about the same time, the entry before and the entry after have the same issue.

@toabi
Copy link

toabi commented Apr 4, 2023

I think this is actually related to #4429 - as this is a newer ticket, I'll write my finding here.

It looks like the NextCloud calendar does not include time Timezone-Definition in generated ICS files.

In the iCalendar RFC5545 is written:

The value of the "TZID" property parameter will be equal to the value of the
"TZID" property for the matching time zone definition. An
individual "VTIMEZONE" calendar component MUST be specified for
each unique "TZID" parameter value specified in the iCalendar
object.

Most of the software works without that, but especially Outlook seems to have issues with that. But apparently at least the NextCloud Appointments are not RFC compliant.

It's probably fixable by inserting the Timezone-Data into the event. http://www.tzurl.org provides them. I sadly don't have a Windows-Outlook to test behavior. MacOS Outlook doesn't want to import Appointment-ICS files at all (for unknown reasons)

Looks like this app uses sabre-io/vobject for the ICS stuff… in their documentation they explicitly state here:

When a TZID is specified, there should also be a matching VTIMEZONE object with all the timezone information. VObject cannot currently automatically embed this. However, in reality other clients seem to do fine without this information. Yet, for completeness, this will be added in the future.

@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of and removed 0. to triage Pending approval or rejection labels May 2, 2023
@JB1985
Copy link

JB1985 commented Jun 27, 2023

Same here:

image

@miaulalala miaulalala self-assigned this Jun 27, 2023
@miaulalala miaulalala added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Jun 27, 2023
@miaulalala
Copy link
Contributor

The partial fix for the Timezone issue with appointments has been released today. The new version for Calendar should be in the app store within the hour. I would apprechiate it if you were to update your instances and tell me if this fixes it! 🙏

@markusd112
Copy link

markusd112 commented Nov 10, 2023

I have the same issue: I have moved from Google Calendar to Nextcloud and have imported my Google Calendar to Nextcloud calendar. In the calendar view the times are displayed correct. But when I try to edit it, a wrong time (UTC) is displayed in edit dialogue. The same behaviour with the updated calendar app version 4.5.3
Screenshot 2023-11-10 083806

Here the event in the ics file that I have exported from google to import it into Nextcloud calendar:

BEGIN:VEVENT
DTSTART:20231110T170000Z
DTEND:20231110T180000Z
DTSTAMP:20231107T165118Z
UID:[email protected]
CREATED:20231019T162411Z
LAST-MODIFIED:20231019T162411Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:xxxxxxxxx
TRANSP:OPAQUE
END:VEVENT

@CorentinS6
Copy link

Hello,
Same issue here.
My personal time zone is "Europe/Paris", and when i import an ics like the following one, i have the issue : the correct time in month/week view, but GMT time in editor panel.

The ics :

BEGIN:VEVENT
DTSTAMP:20240119T073657Z
DTSTART:20240119T124500Z
DTEND:20240119T144500Z
UID:ADE6070726f6a6574756e697632332d32342d33333833392d302d31
CREATED:19700101T000000Z
LAST-MODIFIED:20240119T073657Z
SEQUENCE:-1893036279
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20240119T073657Z
DTSTART:20240119T124500Z
DTEND:20240119T144500Z
SUMMARY:TITLE******
LOCATION:C03
DESCRIPTION:loremipsum
UID:ADE6070726f6a6574756e697632332d32342d32393334322d302d30
CREATED:19700101T000000Z
LAST-MODIFIED:20240119T073657Z
SEQUENCE:-1893036279
END:VEVENT

Nextcloud 26.0.10 / Calendar 4.6.3

Regards

@miaulalala miaulalala changed the title Bug Calandar : Incorrect Time Incorrect Time for Events - Modal and FullCalendar view differ Feb 28, 2024
@ChristophWurst
Copy link
Member

Is this a duplicate of #1012 and #4802? Some ideas in #4802 (comment), waiting for designer feedback.

@miaulalala miaulalala removed their assignment Mar 19, 2024
@adrianj12
Copy link

Just ran into this issue. Imported a .ics file generated by an apartment company. The calendar month view shows correct time, the modal shows UTC time.
calendar_bug

@ChristophWurst
Copy link
Member

See #5031 (comment). You must have set a timezone other than the one used in the event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress bug
Projects
Status: 🏗️ In progress
Development

No branches or pull requests

9 participants