aboutsummaryrefslogtreecommitdiff
path: root/deno/base/date.ts
diff options
context:
space:
mode:
Diffstat (limited to 'deno/base/date.ts')
-rw-r--r--deno/base/date.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/deno/base/date.ts b/deno/base/date.ts
deleted file mode 100644
index e65691e..0000000
--- a/deno/base/date.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export function toFileNameString(date: Date, dateOnly?: boolean): string {
- const str = date.toISOString();
- return dateOnly === true
- ? str.slice(0, str.indexOf("T"))
- : str.replaceAll(/:|\./g, "-");
-}