tjarvstrand / flutter_timezone

A fork of https://github.com/pinkfish/flutter_native_timezone
Apache License 2.0
42 stars 29 forks source link

fix: uses of `ucal_getHostTimeZone` on systems that don't have it #36

Closed domyd closed 1 month ago

domyd commented 2 months ago

The compile-time Windows version check is not a reliable way of checking whether the system has the ucal_getHostTimeZone function in its icu.dll. That function is only available since ICU 65, which only ships on Windows 11 and newer. Supporting that is not worth the hassle, so we keep the "manual" version (for now).

Fixes #33.

tjarvstrand commented 1 month ago

Thanks for the fix!