You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are e.g. in CET timezone and you try to create a session for a date after the start of Daylight saving time, the time you set will be displayed +1 hour in the Sessions overview list and in the schedule.
The opposite (-1 hour) happens if you are e.g. in CEST and you create a session for a date after the end of DST.
This means that you have to set times skewed ±1 hour in the editor to have the right result.
Looks similar to #748, but probably it's not been fixed by the related PR because in this case the timezone changes depending on the date.
To reproduce
Steps to reproduce the behavior:
Set the site to a timezone which uses DST, e.g. Rome
Enter the editor for a session
If you are testing in November to March, set a date in April to October, or viceversa. In other words, make sure there is a DST switch between your date and the session date.
Set the session time to 10:00
Publish the session.
Visit the Sessions overview in the backend, see that the session time is now 11:00 (or 9:00 in the second case)
Visit the Schedule page in the frontend, see that the session time is now 11:00 (or 9:00 in the second case)
Edit the session once more: the time will still be 10:00.
Expected behavior
I would expect to set the actual planned time for the session in the actual timezone of the date of the event, without the need for a calculation to display the right time.
Screenshots
The session in the editor, while editing it on December 2, 2022:
The text was updated successfully, but these errors were encountered:
enricobattocchi
changed the title
Session times are displayed in a confusing way when Daylight Saving time starts/ends before the session dateDec 2, 2022
Describe the bug
If you are e.g. in CET timezone and you try to create a session for a date after the start of Daylight saving time, the time you set will be displayed +1 hour in the Sessions overview list and in the schedule.
The opposite (-1 hour) happens if you are e.g. in CEST and you create a session for a date after the end of DST.
This means that you have to set times skewed ±1 hour in the editor to have the right result.
Looks similar to #748, but probably it's not been fixed by the related PR because in this case the timezone changes depending on the date.
To reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect to set the actual planned time for the session in the actual timezone of the date of the event, without the need for a calculation to display the right time.
Screenshots
![Screenshot 2022-12-02 at 23-34-45 Edit Session “Prova” ‹ WordCamp Torino 2023 — WordPress](https://cdn.statically.io/img/user-images.githubusercontent.com/15989132/205401324-3e13ba0b-874d-47b0-b73c-7be34d962c08.png)
The session in the editor, while editing it on December 2, 2022:
The same session in the overview:
![Screenshot 2022-12-02 at 23-35-01 Sessions ‹ WordCamp Torino 2023 — WordPress](https://cdn.statically.io/img/user-images.githubusercontent.com/15989132/205401365-0e7c3a36-d6ad-4f23-b54e-59ebcb55506e.png)
The same session in the schedule:
![Screenshot 2022-12-02 at 23-35-16 Schedule – WordCamp Torino 2023](https://cdn.statically.io/img/user-images.githubusercontent.com/15989132/205401465-a3e5e91b-8ae6-4b1b-8ec7-73676f56704f.png)
WordCamp
Experienced both in https://italia.wordcamp.org/2022/ (sessions created in September for a November date) and https://torino.wordcamp.org/2023/ (sessions will be likely created in February for an April date).
System (please complete the following information):
Security Issues
To report a security issue, please visit the WordPress HackerOne program: https://hackerone.com/wordpress.
The text was updated successfully, but these errors were encountered: