An open API service indexing awesome lists of open source software.

https://github.com/simonwaldherr/distime.js

converts UNIX-Timestamps to strings like " 5 days ago " in 19 languages
https://github.com/simonwaldherr/distime.js

hacktoberfest hacktoberfest-accepted javascript time timestamp

Last synced: 6 months ago
JSON representation

converts UNIX-Timestamps to strings like " 5 days ago " in 19 languages

Awesome Lists containing this project

README

          

# disTime.js

converts [UNIX-Timestamps](https://en.wikipedia.org/wiki/Unix_time) 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](https://en.wikipedia.org/wiki/ISO_639-1)).
*coders who like disTime.js maybe also like [parseTime.js](https://github.com/SimonWaldherr/parseTime.js)*

if you like, feel free to add more languages. Many thanks to all [contributors](https://github.com/SimonWaldherr/disTime.js/graphs/contributors)

## about

License: MIT
Version: 0.9.0
Date: 10.2020

## demo

Test this code on the associated github page [simonwaldherr.github.io/disTime.js/](https://simonwaldherr.github.io/disTime.js/).

## contact

Feel free to contact me via [eMail](mailto:contact@simonwaldherr.de) or on [Twitter](http://twitter.com/simonwaldherr). This software will be continually developed. Suggestions and tips are always welcome.