Tweak timezone code

This commit is contained in:
Sam Becker 2025-01-12 17:21:19 -06:00
parent 5e3521c687
commit d2ea11dd79

View File

@ -4,9 +4,9 @@ import { getCookie, storeCookie } from './cookie';
// string: timezone
// undefined: timezone must be resolved on the client
// 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 = () =>
storeCookie(