iana-tz-json-generator-and-importer
Version:
Quickly get timezone names and metadata from the IANA into your application in the format you want.
21 lines (18 loc) • 406 B
text/typescript
export interface IDecimalLatLong {
IANAVersion: string
originalFileName: string
numberOfZones: number
zones: IZone[]
}
export interface IZone {
countryCodes: string[]
timezone: string
geographicArea: string
geographicAreaDisplayName: string
location: string
locationDisplayName: string
coordinates: {
latitude: number
longitude: number
}
}