Update useTimezone.ts

This commit is contained in:
Minseo Lee 2024-08-28 11:57:09 +09:00
parent 739f8b40a0
commit 338c2f3071

View file

@ -15,6 +15,7 @@ export function useTimezone() {
};
const formatTimezoneDate = (intl: IntlShape, date: string, options?: FormatDateOptions) => {
options.timeZone = timezone;
return intl.formatDate(date, options);
};