Repository navigation
Commit 6b00a16
authored
fix(ui): the scheduled deletion date says UTC, like every other date (#570)
The account history said a scheduled deletion as "Account deletion
scheduled for 3 Dec 2026", without "UTC". It now reads "Account deletion
scheduled for 3 Dec 2026 UTC", through `Precision::Day.write` like every
other date. The deletion notification, shown on its page and in its
email, wrote the same date without "UTC" too ("deleted for good on 3
December 2026"); it now ends in "UTC", the way emails write dates.
The entry stays text, not a `<time>` element: the history's description
is also the "This wasn't me" button's accessible name and the history
entry shown on the notification's page, and `Precision::write` is the
shared form for dates in text, as the sessions' and recovery's labels
use it.
Closes #551
Tested: a new `sourceorigin-ui` test checks the entry's text, and fails
without the fix (it read "…3 Dec 2026"); the crate's tests, Clippy with
and without `--all-features`, `cargo doc` and `just rust unused` pass.
No screenshot shows a scheduled deletion.
> [!NOTE]
> Written by Claude Opus 5.5 in Claude Code and reviewed by Claude Opus
5.5 (via T3 Code)
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent d1db1a0 commit 6b00a16
2 files changed
Lines changed: 36 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
| 648 | + | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
0 commit comments