aboutsummaryrefslogtreecommitdiff
path: root/src/util.ts
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-02-07 23:10:15 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-02-07 23:10:15 -0500
commit4cddd911654b77edaa171f775a66fd65491acc30 (patch)
tree01385857602ed3994435b2ef3c1c408bc32d7671 /src/util.ts
parent7474e6255b5f9d5a67770b2613d0668056224f2d (diff)
downloadpersonal-website-4cddd911654b77edaa171f775a66fd65491acc30.tar.gz
personal-website-4cddd911654b77edaa171f775a66fd65491acc30.tar.bz2
personal-website-4cddd911654b77edaa171f775a66fd65491acc30.zip
Update package.json and Guestbook.jsx
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',