converts UNIX-Timestamps to strings like " 5 days ago " in many languages
JavaScript HTML PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.size.json
Gruntfile.js
disTime.i18n.js
disTime.js
disTime.min.js
index.html
package.json
php.php
readme.md

readme.md

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, pl, pt, ru, sv, tl, 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.8.0
Date: 10.2017

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.