manuelmhtr / countries-and-timezones

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

Need to tell current time (UTC offset) in a country #9

Closed mariusa closed 4 years ago

mariusa commented 4 years ago

Hola,

The API returns two UTC offsets: utcOffsetStr & dstOffsetStr.

However, there's no way to tell what is the current time in a country, knowing UTC time.

It would be great if

Thank you!

manuelmhtr commented 4 years ago

Hi @mariusa It's a great idea. Unfortunately since each country has their own rules it's very complex to achieve, so it won't be supported for now. For that propuse I'd recommend to use Moment Timezone.