Page MenuHomePhabricator

Add UTC in the WSContest contest page
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):

In WSContest Tool, please add the timezone (e.g. default is UTC) in the display, to avoid confusion with the local timezone.

For example, in https://wscontest.toolforge.org/c/93 it only says:

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

it should be changed to:

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

This should be done by using an i18n message, so that the "UTC" part can be localized into different languages. The Start date and time: label is already a message (called start-date-label), so another should be added that is either the entire string (e.g. Start date and time: $1 UTC or just the latter part.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

In one of the Wikisource competition that's currently being held, one participant confuses the display time 00.00 as local timezone, because there's no indication in that page that it's UTC timezone.

Benefits (why should this be implemented?):

Avoid confusion, clarify things. Because the world timezones are a mess.

Event Timeline


@Bennylin how about adding a timezone selector feature beside the start and end date and time? Then remove (Times are in UTC timezone) below the start and end date and time on the contest creation page of the WSContest tool.

for now, can I add the UTC and I will start working on adding the change time-zone feature, can I work on this?

@AFZL210 Go for it! Assign this task to yourself, then prepare a patch and send a pull request (link it here).

@Samwilson thank you! I'll try to create a patch soon

PMenon-WMF subscribed.

Hi @AFZL210, removing you from this task since it has been stale for quite a while. Feel free to re-assign it to yourself if you are still working on it!

I am new to Phabricator and has never used it before and confused why my PR #76 on GitHub isn't referenced here. Simply mentioning it myself.

Thanks @AS1100K, manually mentioning PRs is the correct way to do it now. There's no automatic tracking of GitHub PRs here; that only works for Gerrit and Wikimedia's GitLab (the latter we do intend to migrate to at some point: T324410).