@getajobmike you should be able to use this web component to have it easily. It uses the JS built in Intl.RelativeTimeFormat API
Conversation
Notices
-
Embed this notice
Renaud Chaput (renchap@oisaur.com)'s status on Sunday, 03-Dec-2023 06:31:14 JST Renaud Chaput -
Embed this notice
Mike Perham :sidekiq: (getajobmike@ruby.social)'s status on Sunday, 03-Dec-2023 06:31:15 JST Mike Perham :sidekiq: Do browsers still not have any functionality built in like timeago.js for showing a relative time in the user’s language? That seems like it would be a huge value add for pages and fairly limited in scope.
-
Embed this notice