Skip to content

Instantly share code, notes, and snippets.

View tannineo's full-sized avatar
🐢
慢慢来

Chao Chen tannineo

🐢
慢慢来
View GitHub Profile
@tannineo
tannineo / timezones.ts
Created August 10, 2023 14:42 — forked from sandcastle/timezones.ts
A timezone list with grouping by timezone, in TypeScript.
export interface IanaTimezone {
group: string;
timezone: string;
label: string;
}
export const IANA_TIMEZONES = [
// UTC+14:00
{ group: 'UTC+14:00', timezone: 'Pacific/Kiritimati', label: 'Pacific/Kiritimati (+14)' },
// UTC+13:00
@tannineo
tannineo / timezones.ts
Created August 10, 2023 14:42 — forked from sandcastle/timezones.ts
A timezone list with grouping by timezone, in TypeScript.
export interface IanaTimezone {
group: string;
timezone: string;
label: string;
}
export const IANA_TIMEZONES = [
// UTC+14:00
{ group: 'UTC+14:00', timezone: 'Pacific/Kiritimati', label: 'Pacific/Kiritimati (+14)' },
// UTC+13:00