@ztimson/utils 0.25.14 → 0.25.15
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1177,7 +1177,7 @@ ${opts.message || this.desc}`;
|
|
|
1177
1177
|
}
|
|
1178
1178
|
function timestampFilename(name, date = /* @__PURE__ */ new Date()) {
|
|
1179
1179
|
if (typeof date == "number" || typeof date == "string") date = new Date(date);
|
|
1180
|
-
const timestamp = formatDate("YYYY-MM-DD_HH
|
|
1180
|
+
const timestamp = formatDate("YYYY-MM-DD_HH-mm", date);
|
|
1181
1181
|
return name ? name.replace("{{TIMESTAMP}}", timestamp) : timestamp;
|
|
1182
1182
|
}
|
|
1183
1183
|
function uploadWithProgress(options) {
|