timere
timere copied to clipboard
OCaml date time handling and reasoning suite
Tentative API: ```ocaml val of_http : string -> ... val to_rfc5322 : ... -> string val to_http : ... -> string (* alias to to_rfc5322 *) ``` `of_http` should accept...
Very nice library! Thank you for your work :) I wanted to use `Timere` to schedule cron-like tasks but I get stuck when I try to compute the next time...
It seems this has been made with js_of_ocaml, and platform independence more generally, in mind. But it's not at all clear to me how you would set up a js_of_ocaml...
Resources: - https://github.com/micktwomey/pyiso8601 - https://github.com/ocaml-community/ISO8601.ml
Rewrite things like `ns = [0, 999_999_999]` to `ns = []` (wildcard) before passing the pattern to `Pattern_resolver.resolve` (or handle it inside `Pattern_resolver.resolve`) to remove unnecessary performance penalty - very...
- Comparison between `resolver` and `simple_resolver` - Comparison between `resolver` and other scheduling programs maybe
Reference `input_tz_file` from Jane Street's `Core_kernel.Zone` for implementation details for handling in Linux case: https://github.com/janestreet/core_kernel/blob/master/src/zone.ml Exact approach required, from Python community: https://github.com/regebro/tzlocal/tree/master/tzlocal - The windows registry access stuff could possibly...
From discussion with @Drup ``` ∀ f : t -> t. if ∀ timezone. resolve x1 = resolve x2 then ∀ timezone. resolve (f x1) = resolve (f x2) ```