FLUTTER ECOSYSTEM

kyle-seongwoo-jun/flutter_timezone_to_country

Bibliothek zur Übersetzung von Zeitzone-ID in ISO 3166-1-alpha-2-Code (z. B. 'Asia/Seoul' zu 'KR')

Projektcover von timezone_to_country
Stars
4
Forks
1
Letzter Push (UTC)
01.06.2026
Projektstatus
Aktiv
Kyle Seongwoo Jun GitHub avatar
GITHUB User

Kyle Seongwoo Jun ↗

전성우입니다 😎

@poolix-incSeoul, South KoreaOffizielle Website ↗
SprachenDartRubyHTMLSwiftPythonKotlinObjective-C

Technische Themen

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 4 Einträge

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

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