UNPKG

518 BTypeScriptView Raw
1export interface Timezone {
2 /** Current offset from UTC time, adjusted for daylight saving using the current date. */
3 offset: string;
4 /** Common human-readable name of the timezone, usually the name of a big city in that zone. */
5 label: string;
6 /** IANA identifier code, see https://www.iana.org/time-zones. */
7 ianaCode: string;
8}
9export type TimezoneWithoutOffset = Omit<Timezone, "offset">;
10export interface TimezoneWithNames extends Timezone {
11 longName: string;
12 shortName: string;
13}