Awesome
@nextcloud/timezones
A small library containing common time zone logic and data.
API
The most important exported function is getTimezoneManager()
which will return an instance of the TimezoneManager
class.
This library ships the tz database.
All bundled time zones and aliases can be loaded via TimezoneManger.registerDefaultTimezones()
.