iana-tz-json-generator-and-importer
Version:
Quickly get timezone names and metadata from the IANA into your application in the format you want.
19 lines (18 loc) • 417 B
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;
};
}