aboutsummaryrefslogtreecommitdiff
path: root/src/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.ts')
-rw-r--r--src/util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.ts b/src/util.ts
index 0c1cecc..fe01ca5 100644
--- a/src/util.ts
+++ b/src/util.ts
@@ -1,5 +1,5 @@
// Format date to a string
-function formatDate(date: string): string {
+function formatDate(date: Date): string {
const options: Intl.DateTimeFormatOptions = {
year: 'numeric',
month: 'long',