diff --git a/src/utils/getFormattedDate.ts b/src/utils/formatDate.ts similarity index 68% rename from src/utils/getFormattedDate.ts rename to src/utils/formatDate.ts index b6c05c2..db1e03c 100644 --- a/src/utils/getFormattedDate.ts +++ b/src/utils/formatDate.ts @@ -1,4 +1,4 @@ -export const getFormattedDate = (date: Date | string) => +export const formatDate = (date: Date | string) => new Intl.DateTimeFormat('en-US', { year: 'numeric', month: 'long',