country_to_timezone 0.1.0 copy "country_to_timezone: ^0.1.0" to clipboard
country_to_timezone: ^0.1.0 copied to clipboard

Converts a ISO 3166-1 alpha-2 code to a timezone. (e.g. 'DE' to 'Europe/Berlin')

Converts a ISO 3166-1 alpha-2 code to a timezone. (e.g. 'DE' to 'Europe/Berlin')

Usage #

Just import the package and use the convert function:

final timezone = CountryToTimezone.convert('DE'); 
// timezone = 'Europe/Berlin'

Additional information #

Have fun and help grow the dart and flutter ecosystem

1
likes
0
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

Converts a ISO 3166-1 alpha-2 code to a timezone. (e.g. 'DE' to 'Europe/Berlin')

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter

More

Packages that depend on country_to_timezone