Ambiguous local time conversion failure in Data.Time.Calendar
0 reputation · 16 May 2025, 07:48 UTC
Ambiguous local time conversion failure in Data.Time.Calendar
Data.Time.Calendar functions assume the Gregorian calendar and lack a built‑in representation for local times that occur twice during the fall‑back of daylight‑saving time.
The library’s timezone and zi functions are deprecated in recent GHC releases, and migration to the tzdata package introduces uncertainty about how ambiguous times will be resolved.
What is the intended behavior for ambiguous local times in future Data.Time releases, and how will the deprecation of timezone handling affect existing conversion code?