Skip to content

Commit 6d0abec

Browse files
committed
refactor: Update date format style from full to medium.
1 parent 904f502 commit 6d0abec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/date.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export function formatDate(date: string) {
22
return new Intl.DateTimeFormat(undefined, {
3-
dateStyle: "full",
3+
dateStyle: "medium",
44
}).format(new Date(date));
55
}

0 commit comments

Comments
 (0)