We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c834fb commit 622aa6eCopy full SHA for 622aa6e
src/utils/date.ts
@@ -0,0 +1 @@
1
+export const formatDate = (date: string | Date) => (date instanceof Date ? date : new Date(date)).toLocaleString('en-US', { day: 'numeric', month: 'long', year: 'numeric' })
0 commit comments