diff options
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/packs/public.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/packs/public.js b/app/javascript/packs/public.js index da1f550fc..d8a0f4eee 100644 --- a/app/javascript/packs/public.js +++ b/app/javascript/packs/public.js @@ -35,6 +35,7 @@ function main() { [].forEach.call(document.querySelectorAll('time.time-ago'), (content) => { const datetime = new Date(content.getAttribute('datetime')); + content.title = dateTimeFormat.format(datetime); content.textContent = relativeFormat.format(datetime); }); }); |