Page MenuHomePhabricator

Display timezone on EventDetails
Closed, ResolvedPublic1 Estimated Story Points

Description

As a campaign participant, I want the time zone to be clearly displayed in the EventDetails page, so that I know when the event is taking place and I can make a decision about whether or not I can potentially attend.

Acceptance Criteria:

  • Display event time zone on the EventDetails in the following way:
    • In person events: timezone specified by organizer when configuring registration form
    • Online and hybrid events:
      • If user logged in: time zone set in preferences
    • If user logged out: default time zone of wiki
  • Time zone options include geographic time zone and UTC offset
  • Time zone should be on a separate line from date/time of event

Visual examples:

Timezone design (View Design Specs)

2B.png (1ร—881 px, 74 KB)

Event Timeline

Change 853296 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Choose appropriate timezone in EventTimeFormatter

https://gerrit.wikimedia.org/r/853296

Change 853304 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Display timezone on Special:EventDetails

https://gerrit.wikimedia.org/r/853304

Daimona changed the point value for this task from 2 to 1.Nov 4 2022, 3:51 PM

Turned out to be easier than I thought.

Change 853296 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Choose appropriate timezone in EventTimeFormatter

https://gerrit.wikimedia.org/r/853296

Change 853304 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Display timezone on Special:EventDetails

https://gerrit.wikimedia.org/r/853304

Display event time zone on the EventDetails in the following way:
โœ… In person events: timezone specified by organizer when configuring registration form
Testing with this event
Timezone set as America/Chicago by organizer:
Logged in user with timezone set as different than event time zone:

Screen Shot 2022-11-15 at 4.10.47 PM.png (850ร—1 px, 90 KB)

Logged out:

Screen Shot 2022-11-15 at 4.11.11 PM.png (954ร—1 px, 101 KB)


Online and hybrid events:
screenshots are from this event

โœ… If user logged in: time zone set in preferences

Screen Shot 2022-11-15 at 11.50.40 PM.png (970ร—1 px, 95 KB)

โœ… If user logged out: default time zone of wiki

Screen Shot 2022-11-15 at 11.50.15 PM.png (950ร—1 px, 97 KB)

โœ… Time zone options include geographic time zone and UTC offset
โœ… Time zone should be on a separate line from date/time of event

@Daimona @vaughnwalters The timezone for 'If user logged out: default time zone of wiki' just shows the offset and not the full timezone, it should be UTC, UTC+01:00, UTC+02:00...
Also, the Timezone heading font-weight is medium, not bold.