Closed
Bug 1747017
Opened 2 years ago
Closed 2 years ago
All Day event in Invite Attendees Interface and Timezone
Categories
(Calendar :: Dialogs, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: adrien.rybarczyk, Unassigned)
References
Details
Attachments
(1 file)
20.05 KB,
image/png
|
Details |
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:
- Create an All Day event which is not today or tomorrow
- 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.
Reporter | ||
Comment 2•2 years ago
|
||
In process of validation
https://phabricator.services.mozilla.com/D141115
Flags: needinfo?(adrien.rybarczyk)
Reporter | ||
Updated•2 years ago
|
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.
Description
•