FLUTTER ECOSYSTEM

kyle-seongwoo-jun/flutter_timezone_to_country

Library for translation Time Zone Id to ISO 3166-1 alpha-2 code (e.g. 'Asia/Seoul' to 'KR')

timezone_to_country project cover
Stars
4
Forks
1
Last push (UTC)
Jun 1, 2026
Project status
Active
Kyle Seongwoo Jun GitHub avatar
GITHUB User

Kyle Seongwoo Jun ↗

전성우입니다 😎

@poolix-incSeoul, South KoreaOfficial website ↗
LanguagesDartRubyHTMLSwiftPythonKotlinObjective-C

Technical topics

Packages published by this repository

Dependencies used

Dependency list 4 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

timezone_to_country

pub package pub points pub downloads flutter ci

Library for translation Time Zone Id to ISO 3166-1 alpha-2 code (e.g. 'Asia/Seoul' to 'KR')

example

Usage

TimeZoneToCountry.getCountryCode('Asia/Seoul')          // 'KR'
TimeZoneToCountry.getCountryCode('America/Los_Angeles') // 'US'
TimeZoneToCountry.getCountryCode('Europe/London')       // 'GB'
String code = await TimeZoneToCountry.getLocalCountryCode();
print(code);  // 'KR'

Source of Time Zone

IANA - Time Zone Database - 2025c