diff options
author | Francis Murillo <evacuee.overlap.vs3op@aleeas.com> | 2022-12-15 15:35:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 16:35:25 +0100 |
commit | c50e9d078aa3c353afc140669f1cedcd354ee53e (patch) | |
tree | 2f0b24370f87f8eee6bd103cbaad1610de7ca457 /app/javascript/mastodon/locales/en.json | |
parent | f0cebaee00f80270bef7a7ce8e03597dd118ad23 (diff) |
Render current day formats in the client timezone (#21878)
* Fix remaining plain %time to %time.formatted * Add %time.relative-formatted to client format dates on the current day * Add missing comma dangle to formats * Use client side message format instead of the server * Add fallback message to relatve_format.today * Remove unused translation key and fix js lint issue Co-authored-by: Effy Elden <effy@effy.space>
Diffstat (limited to 'app/javascript/mastodon/locales/en.json')
-rw-r--r-- | app/javascript/mastodon/locales/en.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json index 05b9353bf..997b0d9e5 100644 --- a/app/javascript/mastodon/locales/en.json +++ b/app/javascript/mastodon/locales/en.json @@ -461,6 +461,7 @@ "refresh": "Refresh", "regeneration_indicator.label": "Loading…", "regeneration_indicator.sublabel": "Your home feed is being prepared!", + "relative_format.today": "Today at {time}", "relative_time.days": "{number}d", "relative_time.full.days": "{number, plural, one {# day} other {# days}} ago", "relative_time.full.hours": "{number, plural, one {# hour} other {# hours}} ago", |