Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
51943fad1c | |||
ce3af11ca8 |
@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 2024-12-14 - 4.2.0 - feat(ondemand)
|
||||
Add on-demand timestamp feature
|
||||
|
||||
- Added an on-demand script to output human-readable time ago for current timestamp.
|
||||
|
||||
## 2024-12-13 - 4.1.1 - fix(smarttime.units)
|
||||
Fix issue in getMilliSecondsAsHumanReadableAgoTime
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@push.rocks/smarttime",
|
||||
"private": false,
|
||||
"version": "4.1.1",
|
||||
"version": "4.2.0",
|
||||
"description": "Provides utilities for advanced time handling including cron jobs, timestamps, intervals, and more.",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
|
3
test/ondemand.ts
Normal file
3
test/ondemand.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import * as smarttime from '../ts/index.js';
|
||||
|
||||
console.log(smarttime.getMilliSecondsAsHumanReadableAgoTime(Date.now()));
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/smarttime',
|
||||
version: '4.1.1',
|
||||
version: '4.2.0',
|
||||
description: 'Provides utilities for advanced time handling including cron jobs, timestamps, intervals, and more.'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user