aboutsummaryrefslogtreecommitdiff
path: root/components/DateFormatter.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2023-07-17 15:08:57 -0400
committerAndrew Lee <alee14498@protonmail.com>2023-07-17 15:08:57 -0400
commitddbe4fa61425f6a871a23238ce15a0929e201e6e (patch)
treec1d5c2a0674bcbf2cf79180445d8d26518b7009d /components/DateFormatter.js
parent8fbaca0d8ec9dc1323facb7f4c0029e32cfe5223 (diff)
downloadalure-website-ddbe4fa61425f6a871a23238ce15a0929e201e6e.tar.gz
alure-website-ddbe4fa61425f6a871a23238ce15a0929e201e6e.tar.bz2
alure-website-ddbe4fa61425f6a871a23238ce15a0929e201e6e.zip
Modularizing certain elements; Working information section
Diffstat (limited to 'components/DateFormatter.js')
-rw-r--r--components/DateFormatter.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/components/DateFormatter.js b/components/DateFormatter.js
deleted file mode 100644
index 11f3bf3..0000000
--- a/components/DateFormatter.js
+++ /dev/null
@@ -1,9 +0,0 @@
-
-import { parseISO, format } from 'date-fns'
-
-const DateFormatter = (dateString) => {
- const date = parseISO(dateString)
- return <time dateTime={dateString}>{format(date, 'LLLL d, yyyy')}</time>
-}
-
-export default DateFormatter \ No newline at end of file