dethfire
Well-known member
Displaying relative times is now part of the Intl API.
Forums use a ton of relative time wordage. Using Intl.RelativeTimeFormat() is said to give a performance boost.
New in Chrome 71 | Blog | Chrome for Developers
Chrome 71 makes displaying relative time values easier with the new Intl.RelativeTimeFormat() API. You can specify which side of the text the underline should appear on for text that flows vertically. And using the speech synthesis API now requires user activation before your computer starts...
developers.google.com
Forums use a ton of relative time wordage. Using Intl.RelativeTimeFormat() is said to give a performance boost.
Upvote
3