- edited description
ics for client has wrong time when using timezones
To reproduce, the website on Vienna time with the product at 1 am, client selected Kiev time which is 2 am instead.
The email to client says 2 am (Kiev), but the ICS file attached to it has DTSTART:20200320T010000.
I tried importing into a gCal with Vienna time and I get 1am, which is correct. But when I tried importing in Kiev timezone gCal, it still said 1am, which is wrong as it should be 2am.
Reported here.
Ideally, the ICS file should have the time in a universal time so that no matter which timezone your personal calendar has, it saves the right time. Is that possible?
Comments (15)
-
reporter -
- changed status to resolved
Added time zones to all times inside .ics from v4.9.2.
-
reporter - changed status to open
This is again not working.
-
How did you test it?
-
reporter I tested by setting the WP timezone to Denver (US).
Then I booked an appointment in Denver timezone at 10 am. In Gmail, the ICS says 12:00 CEST, which is wrong. It should be 18:00 instead.Then I tested with timezone (as client) Auckland (New Zeland) at 04:00 and the ICS says 12:00, but it should be 18:00 instead:
Reported here.
-
I’ll check this again, but what happens if you import the ics to Google calendar. Does it import in correct time zone.
-
reporter No, it imports the wrong time.
-
Can you attach the ics file?
-
reporter This is from Appointment #22446:
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//BookingWP//WooCommerce Appointments 4.9.3//EN CALSCALE:GREGORIAN X-WR-CALNAME:Fable - Children Kindergarten WordPress Theme X-ORIGINAL-URL:https://fable.valentina-rakar.com/ X-WR-CALDESC:Appointments from Fable - Children Kindergarten WordPress Theme X-WR-TIMEZONE:America/Denver BEGIN:VEVENT DTSTART;TZID=/America/Denver:20200415T100000Z DTEND;TZID=/America/Denver:20200415T110000Z UID:wc_appointments_22446 DTSTAMP:20200414T091610Z LOCATION: DESCRIPTION:Staff: WP gCal\n\n URL;VALUE=URI:https://fable.valentina-rakar.com/my-account/view-order/22447/ SUMMARY:#22446 - timezone and staff ORGANIZER;CN="Fable - Children Kindergarten WordPress Theme":redacted-email@gmail.com END:VEVENT END:VCALENDAR
-
reporter also reported here.
-
reporter also reported here.
-
reporter -
reporter also reported here.
-
reporter also reported here.
-
- changed status to resolved
Reverted back changed introduced with 4.9.2
- Log in to comment