Skip to content

enh: use formatRelativeTime from @nextcloud/l10n for relative timestamps#1252

Merged
benjaminfrueh merged 1 commit into
mainfrom
enh/relative-time-l10n
Jul 2, 2026
Merged

enh: use formatRelativeTime from @nextcloud/l10n for relative timestamps#1252
benjaminfrueh merged 1 commit into
mainfrom
enh/relative-time-l10n

Conversation

@benjaminfrueh

Copy link
Copy Markdown
Contributor

Replaces the relative time logic in getRelativeTime with formatRelativeTime from @nextcloud/l10n.
For anything < 1 minute it still shows "Just now".

Fixes #857

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
@benjaminfrueh benjaminfrueh merged commit c8680f2 into main Jul 2, 2026
41 of 43 checks passed
@benjaminfrueh benjaminfrueh deleted the enh/relative-time-l10n branch July 2, 2026 14:53
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.

i18n: Placeholder and plural form needed

2 participants