Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@chopshop/tz

ddoronin475MIT1.0.1TypeScript support: included

IANA Time Zone

IANA, tz

readme

@chopshop/tz

TZ typescript type is the Internet Assigned Numbers Authority (IANA) time zone database.

import { TZ } from '@chopshop/tz';

const timeZone: TZ = 'America/New_York';