Relative Time Element

Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.

Translation ManagementOpen Source Developer ToolsOpen Source

About

Il relative-time-element è un componente web che formatta i timestamp come stringhe localizzate o come testo di tempo relativo che si aggiorna in tempo reale all'interno del browser dell'utente. Consente la memorizzazione nella cache lato server di frammenti HTML contenenti date, mentre il browser gestisce la localizzazione in base alle preferenze dell'utente. Questo componente utilizza le API Intl.DateTimeFormat e Intl.RelativeTimeFormat, garantendo la compatibilità con i moderni motori JavaScript.

Open Source Health

Not enough history
Stars
4,033
Forks
192
License
MIT
Last commit
1 months ago
JavaScript

Related Categories

Usi Relative Time Element?

Tieni traccia del suo costo insieme al resto del tuo stack e ricevi un promemoria prima del rinnovo.

Aggiungi al mio stack

Vendor

Github

Publisher of Hubot, GitHub Security Blog and Aqua Security

View vendor profile

More by Github