Search packages, repositories and app categories

GitHub repositorykyle-seongwoo-jun/flutter_timezone_to_country

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

Original README

English project snapshot. Visit GitHub for the latest content.

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

Kyle Seongwoo Jun GitHub avatar
GitHub author

Kyle Seongwoo Jun ↗

전성우입니다 😎

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

Categories

Packages published by this repository

Dependencies used

Dependency list 4 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗