manuelmhtr / countries-and-timezones

Minimalistic library to work with countries and timezones data
MIT License
224 stars 67 forks source link

Wrong utcOffset for Dublin #62

Open wickedest opened 7 months ago

wickedest commented 7 months ago

Thanks for this module! Trying to use it and the very first example I used was Dublin, but the answer looks wrong.

ct.getTimezone('Europe/Dublin')

yields:

{
    name: 'Europe/Dublin',
    countries: [ 'IE' ],
    utcOffset: 60,
    utcOffsetStr: '+01:00',
    dstOffset: 0,
    dstOffsetStr: '+00:00',
    aliasOf: null
}

The UTC for Dublin is 0, whereas the DST can be +1.