Skip to content

converts UNIX-Timestamps to strings like " 5 days ago " in many languages (en, de, it, es, fr, pt, ru, nl, uk, ms, pl, in, no)

Notifications You must be signed in to change notification settings

mikaelf/disTime.js

 
 

Repository files navigation

disTime.js

converts UNIX-Timestamps to strings with the relative date and time (like " 5 days ago ") in many languages: de, en, es, fr, in, it, ms, nl, no, oc, pl, pt, ro, ta, ru, sv, tl, tr, uk (ISO 639-1 formatted).
coders who like disTime.js maybe also like parseTime.js

if you like, feel free to add more languages. Many thanks to all contributors

about

License: MIT
Version: 0.9.0
Date: 10.2020

demo

Test this code on the associated github page simonwaldherr.github.com/disTime.js/.

contact

Feel free to contact me via eMail or on Twitter. This software will be continually developed. Suggestions and tips are always welcome.

About

converts UNIX-Timestamps to strings like " 5 days ago " in many languages (en, de, it, es, fr, pt, ru, nl, uk, ms, pl, in, no)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.9%
  • HTML 16.0%
  • PHP 12.1%