Review main Merged

92992[TASK] Add relative-show-seconds attribute to the datetime element

Benjamin Kott CR +2 V +2 Normal +78 −17 updated 02/25/26, 12:29

Commit message

By default, the `<typo3-backend-datetime>` element in relative mode
now rounds sub-minute timestamps up to "in 1 minute" or "1 minute ago"
instead of displaying exact seconds. A new boolean attribute
`relative-show-seconds` can be set to opt into the previous behavior
and show "X seconds ago" for recent timestamps. The styleguide component
page is updated to demonstrate both variants side by side and to
document the new attribute in the reference table.

Commands executed:
  npm install --save luxon:^3.7
  npm install --save-dev @types/luxon:^3.7
  npm run build

Review

  • Code review CR +2 Done
    • Georg Ringer +2
    • Bastien Lutz +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Bastien Lutz +1
    • core-ci +1 CI

Issues 1

Files 8

Review log 57

  1. Benjamin Kott uploaded patch set 1 02/25/26, 11:44

  2. Benjamin Franzke updated the commit message in patch set 2 02/25/26, 11:47

  3. core-ci voted on patch set 1 V +1 02/25/26, 11:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96815

  4. core-ci voted on patch set 2 V +1 02/25/26, 12:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96816

  5. Bastien Lutz voted on patch set 2 CR +1 V +1 02/25/26, 12:10

  6. Georg Ringer voted on patch set 2 CR +2 V +2 02/25/26, 12:29

  7. Georg Ringer merged patch set 3 02/25/26, 12:29