diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-07-19 00:48:11 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-07-19 00:48:11 -0400 |
| commit | d57226e5a802ecd6607faf67f32621e2da725a35 (patch) | |
| tree | d2073bbc14409095c61255ea83b2ca3815df309d /components/updates/DateFormatter.js | |
| parent | 3c80755e70aa85daa59edc5dbe200400894254c7 (diff) | |
| download | alure-website-d57226e5a802ecd6607faf67f32621e2da725a35.tar.gz alure-website-d57226e5a802ecd6607faf67f32621e2da725a35.tar.bz2 alure-website-d57226e5a802ecd6607faf67f32621e2da725a35.zip | |
Moved all components to app folder
Diffstat (limited to 'components/updates/DateFormatter.js')
| -rw-r--r-- | components/updates/DateFormatter.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/components/updates/DateFormatter.js b/components/updates/DateFormatter.js deleted file mode 100644 index 9e236d0..0000000 --- a/components/updates/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 |
