Skip to content

Fix scheduled room deletion timestamp display - #599

Open
AyobamiH wants to merge 2 commits into
element-hq:mainfrom
AyobamiH:fix/scheduled-room-deletion-timestamp-227
Open

Fix scheduled room deletion timestamp display#599
AyobamiH wants to merge 2 commits into
element-hq:mainfrom
AyobamiH:fix/scheduled-room-deletion-timestamp-227

Conversation

@AyobamiH

@AyobamiH AyobamiH commented Aug 24, 2026

Copy link
Copy Markdown

Fixes #227

Synapse gives timestamp_ms different semantics depending on scheduled-task status. While a task is scheduled, it is the future launch time. Element Admin currently renders both scheduled and active as “in progress since”, which makes a correctly future-dated scheduled deletion appear wrong.

This change renders scheduled separately, showing the localized launch date/time while leaving active, complete, and failed states unchanged. No timezone arithmetic is introduced.

I traced the behaviour to ScheduledTaskDisplay, verified the Synapse API contract, confirmed #385 is a duplicate of #227, checked for an existing PR before starting, and discussed the proposed direction in #ess-community:element.io before submitting.

@AyobamiH
AyobamiH force-pushed the fix/scheduled-room-deletion-timestamp-227 branch from 45e6d69 to 9eafb08 Compare August 24, 2026 16:52
@AyobamiH
AyobamiH marked this pull request as ready for review August 24, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Room deletion progress shows timestamp in the future

1 participant