daypack-dev / timere

OCaml date time handling and reasoning suite
MIT License
68 stars 7 forks source link

Add proper timezone support #7

Closed darrenldl closed 3 years ago

darrenldl commented 3 years ago

Need

Draft of implementation

darrenldl commented 3 years ago

Approach settled on was to parse output from zdump (see code files in gen/), and generates time_zone_data.ml in gen_artifacts. A copy stanza is added to dune files to copy gen_artifacts/time_zone_data.ml.

Right now as of 2a6a0ff , only Pattern resolution examines the transitions of time zone of interest. Hms interval is also formulated to use search based (namely it translates to between_exc).