From 1aa06bc0415759ad84bfeb7a4a2bc59ade68b750 Mon Sep 17 00:00:00 2001 From: Calvin Walton Date: Sun, 21 Mar 2021 18:06:45 -0400 Subject: [PATCH] feat: add a Wellness option to show absolute timestamps instead of relative (#2014) Relative timestamps can cause you to feel that things are especially interesting because they are happening "right now"; the effect is lessened if you see absolute timestamps instead. This fixes #2011 --- src/intl/en-US.js | 3 +++ .../status/StatusRelativeDate.html | 24 +++++++++++++++---- src/routes/_pages/settings/wellness.html | 10 +++++++- src/routes/_store/store.js | 1 + 4 files changed, 32 insertions(+), 6 deletions(-) diff --git a/src/intl/en-US.js b/src/intl/en-US.js index d6546885..e145bef6 100644 --- a/src/intl/en-US.js +++ b/src/intl/en-US.js @@ -392,6 +392,9 @@ export default { hideReblogCount: 'Hide boost counts', hideFavoriteCount: 'Hide favorite counts', hideUnread: 'Hide unread notifications count (i.e. the red dot)', + // The quality that makes something seem important or interesting because it seems to be happening now + immediacy: 'Immediacy', + showAbsoluteTimestamps: 'Show absolute timestamps instead of relative timestamps', ui: 'UI', grayscaleMode: 'Grayscale mode', wellnessFooter: `These settings are partly based on guidelines from the diff --git a/src/routes/_components/status/StatusRelativeDate.html b/src/routes/_components/status/StatusRelativeDate.html index 5a89c1b8..e16bea97 100644 --- a/src/routes/_components/status/StatusRelativeDate.html +++ b/src/routes/_components/status/StatusRelativeDate.html @@ -4,9 +4,9 @@ rel="prefetch" {tabindex} > -