@alook/cli 0.0.110 → 0.0.112

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.
@@ -583,8 +583,7 @@ function recentFilenames(maxDays) {
583
583
  }
584
584
  return filenames;
585
585
  }
586
- function localISOString() {
587
- const now = new Date;
586
+ function localISOString(now = new Date) {
588
587
  const tzOffset = -now.getTimezoneOffset();
589
588
  const sign = tzOffset >= 0 ? "+" : "-";
590
589
  const absOffset = Math.abs(tzOffset);