Skip to content

[C++][Python] Date and time errors with slim zoneinfo files #42157

Open
@joemarshall

Description

@joemarshall

Describe the bug, including details regarding any error messages, version, and platform.

Since 2018, there have been two options for binary zoneinfo files - the old 'fat' format which manually lists all transitions between daylight savings and normal time, and the newer 'slim' format which includes logic to describe transitions. The new format is both smaller, and able to deal with daylight savings further into the future.

The current library that is vendored in to arrow doesn't support slim format. This is a risk as a) in future distros will probably transition (and other things that use timezones like python tzdata module already have), b) on embedded platforms and emscripten the smaller format is preferable, c) the smaller format becomes increasingly desirable as time goes on, particularly as we head towards 2038, as it works better with 32 bit end of Unix epoch in 2038.

The ideal is probably a fix in the upstream date library, but I thought it ought to be highlighted here also.

Component(s)

C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions