-
Notifications
You must be signed in to change notification settings - Fork 31
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
Time Zone Issue in Edit Phase Dialog: Start Time and End Time Cannot be Saved Correctly #1796
Comments
Please reply to me before reading "Steps to Reproduce". Thanks! |
I could not reproduce this bug. When I change the timezone, refresh the page and come back to the editor, the time are still consistently 12am UTC.
This is NOT the expected behavior. The start time and end time settings should always be stored and display in UTC time to avoid any confusion. They should indeed remain consistent when saving and loading the page again, which seems to be the case from my tests. |
By the way, if you are seeing the error message about conflicting phases dates, you are not able to save. That may explain why the values appear to change. I'm closing this issue, feel free to add more information or re-open it if you feel like the problem you are reporting does actually exist. |
THIS BUG DOES EXIST. Please reopen this issue. The video below shows that even when I select the time in the UTC timezone, it still does not work. bandicam.2025-03-27.09-57-28-076.mp4The video below demonstrates the "Steps to Reproduce". bandicam.2025-03-27.09-47-38-342.mp4 |
We'll examinate this issue, thanks for the details. |
For what it is worth, I can report that I am having the same problem. When creating a Phase, when I set the Start Time and End Time (assuming UTC-0), save, and then go back to Edit the Phase, the Start Time and End Time have been changed to different values that I did not enter. |
I can reproduce this problem. We will check and fix it soon @cl4yton for now you can select the time in UTC-0 and save the competition. This will save the correct times. Going back to edit phase before saving indeed shows incorrect times that we will check. |
PLEASE DO NOT CHANGE MY DATE/TIME OF MY COMPLETION. This is an online competition. Actually, the bug you mentioned is a different one (which I haven't reported). This issue can be manually fixed by clearing the current date by deleting the content in the textbox. |
Description
In the "Edit Phase" dialog, the Start Time and End Time fields do not account for time zones and default to UTC. As a result, when I set the End Time to "31 Mar 12:00 AM" in my local time, it is displayed incorrectly upon loading the page. Specifically, the time shows as "30 Mar 4:00 PM." After saving, I receive a "Phase Errors" message. When reopening the dialog, the End Time is displayed as "30 Mar 8:00 AM."
Steps to Reproduce
If you're having trouble understanding, please watch the video below, rather than closing the issue and stating that this is not a bug.
bandicam.2025-03-27.09-47-38-342.mp4
Screenshots
The text was updated successfully, but these errors were encountered: