Get timezone information for a given UIC location code (ENEE) based on its country, if the country has a unique timezone.
npm install uic-location-timezone
Note that the given UIC location code must be deemed valid by
is-uic-location-code, otherwise an Error will be thrown.
const uicLocationTimezone =// 'Europe/Helsinki'// 'Europe/Athens'// null (yes, Germany has two timezones… )// 'Asia/Tokyo'// 'Africa/Cairo'// null (Russia)// throws// throws// throws// throws
If you found a bug or want to propose a feature, feel free to visit the issues page.