diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-07 23:10:15 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-02-07 23:10:15 -0500 |
| commit | 4cddd911654b77edaa171f775a66fd65491acc30 (patch) | |
| tree | 01385857602ed3994435b2ef3c1c408bc32d7671 /src/util.ts | |
| parent | 7474e6255b5f9d5a67770b2613d0668056224f2d (diff) | |
| download | personal-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.ts | 2 |
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', |
