@phensley/plurals
Advanced tools
Changelog
[1.2.5]
Changelog
[1.2.2]
The phensley/timezone
package includes a new TZ.zoneMeta
method to return metadata for a timezone. This can be useful for displaying user interfaces for choosing a timezone. The new properties are:
stdoffset
- Current standard offset, in milliseconds.latitude
- Latitude to 6 decimal places, for the timezone's "principal location"longitude
- Latitude to 6 decimal places, for the timezone's "principal location"countries
- List of ISO 3166 2-letter country codes for countries which overlap the timezone.The cldr.Calendars.timeZoneInfo
result TimeZoneInfo
now includes the same properties as TZ.zoneMeta
above, plus the following property:
metazone
Current CLDR metazone for the timezone.Changelog
[1.2.0]
@phensley/*
package interdependencies now use the ^x.x.x
constraint.@phensley/cldr-schema
, merging its code into @phensley/cldr-core
.major.minor
version of the @phensley/cldr-core
package at runtime to ensure schema compatibility.