mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
commit
eebd79d379
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import { setItem } from '@/lib/storage';
|
import { setItem } from '@/lib/storage';
|
||||||
import { TIMEZONE_CONFIG } from '@/lib/constants';
|
import { TIMEZONE_CONFIG } from '@/lib/constants';
|
||||||
import { formatInTimeZone, zonedTimeToUtc, utcToZonedTime } from 'date-fns-tz';
|
import { formatInTimeZone, zonedTimeToUtc, utcToZonedTime } from 'date-fns-tz';
|
||||||
import useStore, { setTimezone } from 'store/app';
|
import useStore, { setTimezone } from '@/store/app';
|
||||||
import useLocale from './useLocale';
|
import useLocale from './useLocale';
|
||||||
|
|
||||||
const selector = (state: { timezone: string }) => state.timezone;
|
const selector = (state: { timezone: string }) => state.timezone;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue