DisTime.js
converts UNIX-Timestamps to strings like " 5 days ago " in 19 languages
Install / Use
/learn @SimonWaldherr/DisTime.jsREADME
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.io/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.
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
