Closed Bug 1747017 Opened 2 years ago Closed 2 years ago

All Day event in Invite Attendees Interface and Timezone

Categories

(Calendar :: Dialogs, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: adrien.rybarczyk, Unassigned)

References

Details

Attachments

(1 file)

Attached image displayInviteAttendees.PNG —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36

Steps to reproduce:

  1. Create an All Day event which is not today or tomorrow
  2. Open the Invite Attendees interface

Actual results:

On the display grid, there is a time difference of one hour.

Expected results:

This seems to be due to the timezone.

In the event listener load on the window object in calendar-event-dialog-attendees, there is a management of the days to display.

// Choose the days to display. We always display at least 5 days, more if
// the window is large enough. If the event is in the past, use the day of
// the event as the first day. If it's today, tomorrow, or the next day,
// use today as the first day, otherwise show two days before the event
// (and therefore also two days after it).

However, if the date is modified by going under one of the 2 conditions, this causes the bug of the one hour shift.

It would be necessary to recover startTime in the timezone of cal.dtz.defaultTimezone.

Any chance you could submit a patch?

Flags: needinfo?(adrien.rybarczyk)
Blocks: 1759486
Flags: needinfo?(adrien.rybarczyk)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: