@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.mjs
CHANGED
|
@@ -1173,7 +1173,7 @@ function fileText(file) {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
function timestampFilename(name, date = /* @__PURE__ */ new Date()) {
|
|
1175
1175
|
if (typeof date == "number" || typeof date == "string") date = new Date(date);
|
|
1176
|
-
const timestamp = formatDate("YYYY-MM-DD_HH
|
|
1176
|
+
const timestamp = formatDate("YYYY-MM-DD_HH-mm", date);
|
|
1177
1177
|
return name ? name.replace("{{TIMESTAMP}}", timestamp) : timestamp;
|
|
1178
1178
|
}
|
|
1179
1179
|
function uploadWithProgress(options) {
|