mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
Update useTimezone.ts
This commit is contained in:
parent
739f8b40a0
commit
338c2f3071
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ export function useTimezone() {
|
|||
};
|
||||
|
||||
const formatTimezoneDate = (intl: IntlShape, date: string, options?: FormatDateOptions) => {
|
||||
options.timeZone = timezone;
|
||||
return intl.formatDate(date, options);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue