@push.rocks/smarttime 4.1.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12482,7 +12482,7 @@ var getMilliSecondsAsHumanReadableString2 = (milliSecondsArg) => {
12482
12482
  return prettyMilliseconds2(milliSecondsArg);
12483
12483
  };
12484
12484
  var getMilliSecondsAsHumanReadableAgoTime = (timeStampArg) => {
12485
- return date_fns_exports.formatDistanceToNow(timeStampArg);
12485
+ return date_fns_exports.formatDistanceToNow(new Date(timeStampArg));
12486
12486
  };
12487
12487
 
12488
12488
  // ts/smarttime.classes.cronmanager.ts