Skip to content
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

WSContest tool: Add UTC timezone indicators to date and time display #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Aditya0545
Copy link

Previously, the WSContest tool (https://wscontest.toolforge.org/c/93) displayed start and end dates and times without specifying that they were in Coordinated Universal Time (UTC). This caused confusion among participants who assumed the times were in their local timezone.

This commit modifies the template to explicitly append "UTC" to the displayed start and end dates and times:

  • Start date and time: 2023-03-06 00:00:00 UTC
  • End date and time: 2023-03-20 00:00:01 UTC

By adding these indicators, we clarify that all displayed times are in UTC, ensuring consistency in understanding across participants and avoiding potential timezone confusion.

Bug: T331225

Previously, the WSContest tool (https://wscontest.toolforge.org/c/93) displayed start and end dates and times without specifying that they were in Coordinated Universal Time (UTC). This caused confusion among participants who assumed the times were in their local timezone.

This commit modifies the template to explicitly append "UTC" to the displayed start and end dates and times:
- Start date and time: 2023-03-06 00:00:00 UTC
- End date and time: 2023-03-20 00:00:01 UTC

By adding these indicators, we clarify that all displayed times are in UTC, ensuring consistency in understanding across participants and avoiding potential timezone confusion.

Bug: T331225
Copy link
Member

@samwilson samwilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!

The UTC abbreviation needs to be internationalized, because it's not the same in every language. It might be a good idea to switch to using Twig's format_datetime filter (which will require the addition of the twig/intl-extra package). That way, we don't need to add an i18n message here for "UTC" because the whole date will be localized.

… displayed start and end dates and times without specifying that they were in Coordinated Universal Time (UTC). This caused confusion among participants who assumed the times were in their local timezone.

This commit modifies the template to explicitly append "UTC" to the displayed start and end dates and times:

Start date and time: 2023-03-06 00:00:00 UTC
End date and time: 2023-03-20 00:00:01 UTC
By adding these indicators, we clarify that all displayed times are in UTC, ensuring consistency in understanding across participants and avoiding potential timezone confusion.

Bug: T331225
Copy link
Author

@Aditya0545 Aditya0545 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated or fixed the issue
check it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants