Page MenuHomePhabricator

Fix format of timestamps on the participants list on event details page
Closed, ResolvedPublic

Description

This is for V1 (not V0).

Acceptance criteria:

  • Documentation of the "List the participants of an event" endpoint should be updated to mention the new field and the format for both fields
  • The date and time shown on the participants list on event details page should be consistently formatted according to user preference. currently, only the first 20 have the correct format:

image8.png (538ร—346 px, 92 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptJul 13 2022, 4:39 AM
โ€ข vyuen renamed this task from Set the date and time shown on the participants list on event details page to be "TS_DB" to Fix format of timestamps on the participants list on event details page [not v0].Jul 13 2022, 2:31 PM
โ€ข vyuen triaged this task as Medium priority.
โ€ข vyuen updated the task description. (Show Details)
ifried renamed this task from Fix format of timestamps on the participants list on event details page [not v0] to Fix format of timestamps on the participants list on event details page.Aug 8 2022, 6:21 PM
ifried updated the task description. (Show Details)

Change 824740 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] Fix format of timestamps on the participants list on event details page

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

Daimona updated the task description. (Show Details)
ldelench_wmf raised the priority of this task from Medium to High.Aug 26 2022, 7:05 PM
ldelench_wmf moved this task from V1 (MVP) to Darkship on the Campaign-Registration board.
vaughnwalters subscribed.

this isn't in master yet so moving it back to review/feedback until it is merged

โ€ข vyuen changed the task status from Open to In Progress.Aug 30 2022, 12:20 PM

Change 824740 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Fix format of timestamps on the participants list on event details page

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

  • The date and time shown on the participants list on event details page should be consistently formatted according to user preference. currently, only the first 20 have the correct format:

Screen Recording 2022-09-01 at 3.07.38 PM.gif (1ร—1 px, 1 MB)

Screen Recording 2022-09-01 at 3.12.39 PM.gif (1ร—1 px, 2 MB)

Screen Recording 2022-09-01 at 3.38.46 PM.gif (1ร—1 px, 1 MB)


  • Documentation of the "List the participants of an event" endpoint should be updated to mention the new field and the format for both fields

https://www.mediawiki.org/wiki/Extension:CampaignEvents/Api#List_the_participants_of_an_event

"user_registered_at": "<timestamp, in TS_MW format>",
"user_registered_at_formatted": "<human-readable timestamp, formatted according to the user preferences>"

All AC passes ๐Ÿ‘

There is now a standard format for the timestamp of registration (see attached screenshot), so I'm marking this as Done.

Screen Shot 2022-09-23 at 5.04.10 PM.png (1ร—1 px, 96 KB)

Screen Shot 2022-09-23 at 5.04.32 PM.png (662ร—546 px, 51 KB)