diff options
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 |
