diff --git a/changelog.md b/changelog.md index 0b55d9a..3968e1f 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/test/ondemand.ts b/test/ondemand.ts new file mode 100644 index 0000000..36541b1 --- /dev/null +++ b/test/ondemand.ts @@ -0,0 +1,3 @@ +import * as smarttime from '../ts/index.js'; + +console.log(smarttime.getMilliSecondsAsHumanReadableAgoTime(Date.now())); \ No newline at end of file diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 807b9ce..08266ff 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -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.' }