This class would provide methods for formatting the event time, and a time zone. For the event time, it would look at the event type and choose the appropriate time zone (as described in T316688), then call Language::user(Date|Time|TimeAndDate). For the time zone it would use the same logic to choose the appropriate time zone, and then format it as appropriate (e.g., l10n).
Description
Description
Details
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Daimona | T316133 [EPIC] Handle daylight saving for events | |||
Resolved | Daimona | T316688 Display event time in "source of truth" timezone as well as in user's local timezone | |||
Resolved | Daimona | T321717 Display event time on event details modal on event page | |||
Resolved | Daimona | T321718 Display timezone on EventDetails | |||
Resolved | Daimona | T322050 Display time zone on event registration header | |||
Resolved | Daimona | T322054 Create an event time formatter class to format event time and time zone |
Event Timeline
Comment Actions
Change 852980 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):
[mediawiki/extensions/CampaignEvents@master] Introduce EventTimeFormatter
Comment Actions
Change 853296 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):
[mediawiki/extensions/CampaignEvents@master] Choose appropriate timezone in EventTimeFormatter
Comment Actions
Change 852980 merged by jenkins-bot:
[mediawiki/extensions/CampaignEvents@master] Introduce EventTimeFormatter
Comment Actions
Change 853296 merged by jenkins-bot:
[mediawiki/extensions/CampaignEvents@master] Choose appropriate timezone in EventTimeFormatter