Rename getFormattedDate to formatDate

This commit is contained in:
Maciej Pędzich 2023-01-22 21:12:08 +01:00
parent b95a4577ac
commit aa4caf5183

View File

@ -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',