JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q32194F
  • License MIT

converts UNIX-Timestamps to strings like '5 days ago' in eight languages

Package Exports

  • distime

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (distime) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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, 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.