Tweak timezone code
This commit is contained in:
parent
5e3521c687
commit
d2ea11dd79
@ -4,9 +4,9 @@ import { getCookie, storeCookie } from './cookie';
|
|||||||
// string: timezone
|
// string: timezone
|
||||||
// undefined: timezone must be resolved on the client
|
// undefined: timezone must be resolved on the client
|
||||||
// null: timezone not required
|
// null: timezone not required
|
||||||
export type Timezone = string | null | undefined;
|
export type Timezone = string | undefined | null;
|
||||||
|
|
||||||
export const TIMEZONE_COOKIE_NAME = 'client-timezone';
|
export const TIMEZONE_COOKIE_NAME = 'timezone-client';
|
||||||
|
|
||||||
export const storeTimezoneCookie = () =>
|
export const storeTimezoneCookie = () =>
|
||||||
storeCookie(
|
storeCookie(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user