Page MenuHomePhabricator

Display time zone on event registration header
Closed, ResolvedPublic2 Estimated Story Points

Description

As a campaign participant, I want the time zone to be clearly displayed in the registration header 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 event page (registration header) 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)

Registration Header.png (78ร—946 px, 12 KB)

Event Timeline

ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)

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 853315 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Display timezone on event registration header

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

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

Turned out to be easier than I thought.

โ€ข vyuen changed the task status from Open to In Progress.Nov 7 2022, 3:30 PM

Change 853296 merged by jenkins-bot:

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

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

Change 853315 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Display timezone on event registration header

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

Display event time zone on event page (registration header) in the following way:

In person events: timezone specified by organizer when configuring registration form

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.17.29 PM.png (408ร—2 px, 78 KB)

Logged out:

Screen Shot 2022-11-15 at 4.17.41 PM.png (522ร—2 px, 91 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.39.24 PM.png (410ร—2 px, 82 KB)

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

Screen Shot 2022-11-15 at 11.41.11 PM.png (524ร—2 px, 94 KB)

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

Boldly closing this, since a follow-up task to address the remaining issues was created: T325300.