package timedesc

  1. Overview
  2. Docs
OCaml date time handling library

Install

Dune Dependency

Authors

Maintainers

Sources

desc-v0.1.0.tar.gz
sha256=3923b172d9489c9c2741fd91f0150509622e3f39817113fac3c0224c1f9dc8d3

doc/CHANGELOG.html

Changelog

Timere-parse 0.0.5

  • Updated use of Timere API
  • Added support for parsing "24:00" and "24:00:00"

Timere 0.4.0

  • Changed inter [] to mean always instead of empty
  • Fixed overapproximate_search_space_bottom_up handling of bounded intervals, previously the default search time zone was used during points to date time conversion instead of the time zone passed during execution

Timedesc 0.1.0

  • Migration of date time components from Timere
  • Changes to date time components

    • Added recognition of "UTC+/-offset", e.g. "UTC+7", "UTC-07:00", to Timere.Time_zone.make
    • Tuning behaviour of Timere.Time_zone.make for handling time zones with UTC prefix
    • Updated ISO8601 parser to tolerate separator other than T
    • Updated ISO8601 parser to tolerate numbers expressed in only one digit
    • Added size checking to Timere.Time_zone.make_offset_only*
    • Removed raising of Invalid_argument outside of Timere combinators, pp* and some *_exn functions
    • Fixed Points.make error checking
    • Moved hms into Hms module
    • Improved hms error returning
    • Added Timere.Week_date_time module for handling ISO week date time
    • Removed type month, replaced use of it with just int
    • Documentation overhaul with readability improvement and introduction to date time handling added

    • Renamed Timere.Date_time.to_weekday to Timere.Date_time.weekday
    • Unified Duration and Span module. Now there is only Span module with human friendly constructors and view type in Timere.Span.For_human

    • Many changes and restructuring for better usability...

Timere 0.3.1

  • Minor refactoring on use of pattern resolver to simplify reasoning about undefined/uncertain behaviour
  • Added Timere.Span.make_small

Timere 0.3.0 (unreleased)

  • Added support for parsing "24:00" and "24:00:00" in Timere.Date_time.of_iso8601
  • Changed make_hms to replace second with 59 when 60 is provided
  • Renamed Date_time.make_precise to Date_time.make_unambiguous
  • Added leap second handling to Date_time
  • Fixed crash in Timere.Date_time.of_iso8601 due to failed date time construction
  • Upgraded Time_zone.make_offset_only API
  • Updated tz_info and Time_zone.t definition to remove overlap of functionality for representing time zone with only constant offset
  • Renamed constants min and max to min_val and max_val for Timere.Timestamp and Timere.Date_time
  • Added since and since_timestamp
  • Pattern resolver overhaul
  • Resolver search space slicing fix in

    • slice_search_space
    • overapproximate_search_space_bottom_up
    • restrict_search_space_top_down
  • Changed {mday:...} to {day:...} in format string system
  • Better error messages when local time zone cannot be determined (PR #23)

Timere 0.2.2

  • Moved timestamp functions into Timere.Timestamp module
  • Added fractional second support to ISO8601 parsing
  • Fixed Span.of_float handling of negative floats
  • Renamed label argument precision to frac_s for RFC3339 related functions
  • Removed rounding behaviour of fractional digits for RFC3339 related functions
  • Changed make_hms to accept second field to be 60

Timere 0.2.1

  • Fixed OCaml 4.06.1 compatibility

Timere 0.2.0 (unreleased)

  • Added support for nanosecond precision for date times and timestamps
  • Updated tzdb
  • Fixed Timere.Date_time.make and Timere.Date_time.make_exn types
  • Timere.Date_time API tuning
  • Extended format string to support number form of month
  • Extended format string to support fractional seconds
  • Formatted date time string construction now fails explicitly when tz offset is required but cannot be deduced

Timere-parse 0.0.4

  • Replaced Int module with CCInt for building in version 4.06.1

Timere-parse 0.0.3

  • Ruleset update
  • Added time zone support
  • Improved bounded interval bound choosing (e.g. "10am to 2pm" would use a bound of 2 days now instead of 366 days)
  • Fixed parsing of hmss

Timere 0.1.5

  • Fixed following functions which may exception when tzlocal.none backend is used

    • Timere.intervals
    • Timere.resolve
  • Added tzlocal.utc backend
  • Fixed slowdowns in inter resolution caused by incorrect batch and search space slicing logic
  • Fixed sexp_of_timestamp which previously did not specify time zone explicitly as UTC after the default time zone parameter change in API
  • Fixed use of Date_time'.of_timestamp at places by specifying the time zone explicitly as UTC
  • Updated bounded_intervals to try to avoid constructing terms that result in (almost) non-termination

Timere-parse 0.0.2

  • Added corpus
  • General parser upgrade
  • Added parser for hms

Timere 0.1.4

  • Added missing exception handling in Time.pattern for Range.Range_is_invalid
  • Added local time zone detection (Timere.Time_zone.local)
  • Swapped to using local time zone by default in Timere.Date_time API
  • Added missing to/of sexp functions for Date_time and Duration modules
  • Added pretty printers for Timere.hms

Timere-parse 0.0.1

  • Base version

Timere 0.1.3

  • Base version
OCaml

Innovation. Community. Security.