Web Component: Tangular-Time
Tangular-Time
A simple Tangular template engine helper for rendering humanable
date and time.
- jComponent
v19|v20
Outputs:
now
5 minutes ago
1 month ago
2 years ago
Usage:
<h1>{{ name }}</h1>
<div>{{ created | time }}</div>
or
console.log(Thelpers.time(new Date()));
Improvements
New: Tangular helper time2
performs updating of time every minute automatically.
Created
18. november 2016
Updated
12. january 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com