-
Added ISO week recognition rule with keyword
iso-week -
Changed error messages to not be capitalized
- See issue #78
-
Added ISO week pattern
iso_week_pattern,iso_years,iso_year_ranges,iso_weeks,iso_week_ranges
-
Changed error messages to not be capitalized
- See issue #78
- Refreshed tzdb
-
Fixed
12hourhandling in pretty-printer- See issue #79
-
Added
am/pmto format string -
Replaced
pretty printwithpretty-printto be consistent with upstream stdlib Format, and fmt package documentation -
Changed error messages to not be capitalized
- See issue #78
-
Added
timedesc-tzlocal.unix-or-utcand made it the default backend -
Updated documentation of
Time_zone_info- See issue 72
-
Replaced
local_dt_resultwithlocal_date_time_resultfor consistency -
Changed signature of
equal_local_date_time_resultso the argument for the inner equality check function is no longer labelled
-
Pattern resolver optimization
-
Added branch skipping for year, month, day, hour levels
-
This starts the search closer to the first actual potential match
-
-
Fixed handling of
lengthindeduce_child_result_space_bound_from_parent- Previously leads to incorrect result space computation, and may lead to time slots missing despite meeting criteria
-
Fixed handling of negative month day
-
Bug introduced in 84792815ccfa1f8ae4bd9c228e314491dc31456a during reintroduction of pattern resolver branch skipping optimization
-
The commit was made after relese of Timere 0.7.0, so the bug only affected users who were pinning the repo directly
-
-
Renamed
Zoneless.maketoZoneless.of_date_and_timefor consistency -
Adjusted
Time_zone_infoAPI- Renamed
fixed_offset_from_utctooffset_from_utcfor consistency
- Renamed
-
Fixed tzdb compression/decompression code
- See issue 74
-
Renamed
local_resulttolocal_dt_result
-
Added functions to reduce friction during construction of date time
-
of_date_and_time -
of_date_and_time_exn -
of_date_and_time_unambiguous -
of_date_and_time_unambiguous_exn
-
-
Fixed format string parser for functions in
Span.For_human-
to_string -
pp
-
-
Exposed the following functions in
Utils-
iso_week_date_of_jd -
jd_of_iso_week_date
-
-
Made
ISO_week.makeslightly more lenient in the year range accepted-
Changing range from
[0, 9999]to[-1, 10000] -
Previously,
Timedesc.iso_weekwould sometimes fail in the edge cases year 0 and 9999
-
-
Fixed
get_local_tz_for_argerror message -
Refreshed tzdb
-
Added RFC9110 (HTTP Semantics) printers
-
pp_rfc9110 -
to_rfc9110 -
Timestamp.pp_rfc9110 -
Timestamp.to_rfc9110 -
Date.pp_rfc9110 -
Date.to_rfc9110
-
-
and parsers
-
of_rfc9110 -
of_rfc9110_exn -
Timestamp.of_rfc9110 -
Timestamp.of_rfc9110_exn
-
-
Moved to using hand rolled parser for tzdb and related parsing
- Previous version using Angstrom causes stack overflow in JS targets
-
Refreshed tzdb
-
Moved sexp code into
timedesc-sexpto further reduce core dependencies -
Replaced use of mparser with angstrom
-
Significantly reduced number of dependencies, and moved JS, JSON code into separate packages
-
Removed dependencies:
fmt,containers,oseq -
Moved JSON code into
timedesc-jsonpackage along with Yojson dependency -
Moved
tzlocalandtzdbstuff into their own separate packages (timedesc-tzlocalandtimedesc-tzdbrespectively) -
Moved JS tzlocal backend into
timedesc-tzlocal-jspackage
-
-
Adjusted
Time_zone.Db.CompressedAPI to remove use ofMarshal- This in turn allows
timedesc-tzdb.fullto not depend ontimedescas the compressed copy is stable and can be stored in repo directly
- This in turn allows
-
Added
tzlocal.jsbackend forjs_of_ocaml -
Added compressed binary encoding of time zone
-
tzdb-fullnow only considers 1970 to 2040 to further cut down size -
Updated string conversion functions based on pretty printers which raise
Date_time_cannot_deduce_offset_from_utcto raise the exception instead of returningNone-
This simplifies the handling as return type is now simply just
string. -
And for serious stuff users are expected to use only unambiguous date times anyway, which would not trigger this exception
-
-
Added ISO8601 printing facilities to
Timestampmodule for consistency- They are just aliases to the RFC3339 printers
- Bumped dependency of Timedesc to >= 0.6.0, Timere to >= 0.7.0
-
Replaced
CCOptwithCCOption(this bumps dependency of Containers to >= 3.6) -
Bumped dependency of Timedesc to >= 0.6.0
-
Main breaking changes:
-
Changes in ISO week date functions (shorting label for arguments, quality of life changes)
-
Removed
_datesuffix in names ofDate.Ymd_dateandDate.ISO_ord_date
-
-
Replaced
CCOptwithCCOption(this bumps dependency of Containers to >= 3.6) -
Added "partial date" modules with ISO8601 parsing and printing facilities
-
ISO_week -
Ym
-
-
Added additional ISO8601 printing facilities for all three calendar systems
-
Date.Ymd.pp/to_iso8601(these are just aliases to the RFC3339 printers) -
Date.ISO_week_date.pp/to_iso8601 -
Date.ISO_ord.pp/to_iso8601
-
-
Added additional ISO8601 parsing facilities for all three calendar systems
-
Date.Ymd.of_iso8601[_exn] -
Date.ISO_week_date.of_iso8601[_exn] -
Date.ISO_ord.of_iso8601[_exn]
-
-
Added additional comparison functions to
Datelt,le,gt,ge,compare
-
Added arithemtic functions to
Date -
Added
pp/to_iso8601functions as aliases to the rfc3339 functions toTimedesc -
Patched ISO8601 parsers and RFC3339/ISO8601 printers to handle second level time zone offset
- Rare occurrence in tzdb but picked up by some new tests
-
Added additional date conversion functions to
Utils-
ymd_of_jd -
weekday_of_jd -
doy_of_ymd -
jd_of_ydoy
-
-
Added
Time_zone.recorded_offsets -
Tzdb refresh
-
Updated use of Timedesc, Timere API
-
Added support for parsing "24:00" and "24:00:00"
-
Added exception raising version of functions
-
Upgraded ruleset
-
Renamed
Timere_parse.durationtoTimere_parse.span
-
Added ISO week date and ISO ordinal date parsing support in ISO8601 date and date time parsers
-
Added
Timedesc.Date.of_iso8601 -
Added
Timedesc.Time.of_iso8601 -
Added
_exnvariants of ISO8601 parsing functions -
Small tuning of ISO8601 parsing behaviour
-
Added
pp_rfc3339andto_rfc3339toTimedesc.DateandTimedesc.Timemodules -
Added sexp serialisation/deserialisation functions to
Timedesc.DateandTimedesc.Time
-
Added
inc_excargument tobounded_intervals- This fixes expressiveness issues caused by lack of an inclusive version
-
Renamed
bounded_intervalstopattern_intervals -
Swapped to using
inc_excforhms_intervalsAPI -
Added nanosecond support for
patternandPoints.t -
Added
Timere.resolve_exn -
Minor fixes of
resolvefor edge cases -
Upgraded
Timere.Points.maketo do a lot more deduction of missing arguments -
Renamed
&to&&& -
Removed
Timere.Hmsmodule, replaced use ofTimere.Hms.twithTimedesc.Time.t
-
Made
Timedesc.Span.tabstract -
Added accessors
get_s,get_ns_offsetand conversion functionto_s_nstoTimedesc.Spanmodule -
Made
Timedesc.Time_zone_info.tabstract -
Added accessors
tzandfixed_offset_from_utctoTimedesc.Time_zone_infomodule -
Added format string system to
Timedesc.Span.For_human.ppandto_string
-
Added following to
Timedesc.Utils-
jd_of_ymd -
jd_of_date -
jd_of_unix_epoch -
jd_span_of_unix_epoch
-
-
Added
Zonelessmodule-
Moved "date and time" API into
Zonelessmodule -
Zonelessalso includes extra ISO8601 parsing functions for handling ISO8601 strings with no time zone designators
-
-
Updated definition of
Time_zone.equalandTime_zone.utc -
Added comparison functions
-
compare_chrono_min -
compare_chrono_max -
compare_struct
-
-
Fixed
Timedesc.Span.makehandling ofnswhenns = Int.min_int -
Added
Timedesc.Span.Out_of_rangeexception for when it is not possible represent the value even after normalization
-
Fixed unhandled exception/crash due to trying to construct invalid date times when resolving patterns
-
Fixed lossy behaviour in
Pattern_resolver.Branch.to_date_time -
Fixed incorrect resolution due to incorrect definition of
Resolver.timestamp_safe_sub -
General fixes in
pattern_resolverandresolverfor edge cases nearingTimedesc.Timestamp.min_valandTimedesc.Timestamp.max_val -
Bumped Timedesc dep to
0.3.0for easier to handle time zone transitions (due to the updated definition ofTimedesc.Timestamp.max_val)- This makes resolver code simpler
-
Fixed crash due to
Points.to_date_timeby changing to simply returnNoneif date time conversion fails -
Added automatic bound deduction by default for
bounded_intervals -
Overhaul of search space optimization code in
resolver
-
Added
ceil,floorandroundtoTimedesc.Span(and also re-exported them inTimedesc.Timestamp) -
Rounded down
Timedesc.Timestamp.max_valto closest integer -
Added automatic second fraction precision support for non-RFC3339 pretty printers
-
Updated default format string for pretty printers to include second fraction
-
Updated format string system to better support second fraction
-
Migration of date time components to Timedesc
-
Changed
inter []to meanalwaysinstead ofempty -
Fixed
overapproximate_search_space_bottom_uphandling 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
-
Added ISO int conversion functions for
weekday -
Fixed
Timedesc.Date.dayaccessor, which is used byTimedesc.day -
Renamed
weektoiso_weekfor ISO week date API -
Replaced use of
CCOpt.get_exnwithCCOpt.get_exn_or -
Made
Timedesc.Time.tabstract -
Modified
Timedesc.Time.tunderlying representation -
Fixed
Timedesc.Time.maketo handle24:00:00"properly" by rewriting it to23:59:59.999_999_999
-
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.makefor handling time zones withUTCprefix -
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_argumentoutside of Timere combinators,pp*and some*_exnfunctions -
Fixed
Points.makeerror checking -
Moved hms into
Hmsmodule -
Improved hms error returning
-
Added
Timere.Week_date_timemodule for handling ISO week date time -
Removed type
month, replaced use of it with justint -
Documentation overhaul with readability improvement and introduction to date time handling added
-
Renamed
Timere.Date_time.to_weekdaytoTimere.Date_time.weekday -
Unified
DurationandSpanmodule. Now there is onlySpanmodule with human friendly constructors andviewtype inTimere.Span.For_human- See issue #27 for discussion
-
Many changes and restructuring for better usability...
-
-
Minor refactoring on use of pattern resolver to simplify reasoning about undefined/uncertain behaviour
-
Added
Timere.Span.make_small
-
Added support for parsing "24:00" and "24:00:00" in
Timere.Date_time.of_iso8601 -
Changed
make_hmsto replace second with 59 when 60 is provided -
Renamed
Date_time.make_precisetoDate_time.make_unambiguous -
Added leap second handling to
Date_time -
Fixed crash in
Timere.Date_time.of_iso8601due to failed date time construction -
Upgraded
Time_zone.make_offset_onlyAPI -
Updated
tz_infoandTime_zone.tdefinition to remove overlap of functionality for representing time zone with only constant offset -
Renamed constants
minandmaxtomin_valandmax_valforTimere.TimestampandTimere.Date_time -
Added
sinceandsince_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)
-
Moved timestamp functions into
Timere.Timestampmodule -
Added fractional second support to ISO8601 parsing
-
Fixed
Span.of_floathandling of negative floats -
Renamed label argument
precisiontofrac_sfor RFC3339 related functions -
Removed rounding behaviour of fractional digits for RFC3339 related functions
-
Changed
make_hmsto accept second field to be 60
- Fixed OCaml 4.06.1 compatibility
-
Added support for nanosecond precision for date times and timestamps
-
Updated tzdb
-
Fixed
Timere.Date_time.makeandTimere.Date_time.make_exntypes -
Timere.Date_timeAPI 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
- Replaced
Intmodule withCCIntfor building in version 4.06.1
-
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
-
Fixed following functions which may exception when
tzlocal.nonebackend is used-
Timere.intervals -
Timere.resolve
-
-
Added
tzlocal.utcbackend -
Fixed slowdowns in
interresolution caused by incorrect batch and search space slicing logic -
Fixed
sexp_of_timestampwhich previously did not specify time zone explicitly as UTC after the default time zone parameter change in API -
Fixed use of
Date_time'.of_timestampat places by specifying the time zone explicitly as UTC -
Updated
bounded_intervalsto try to avoid constructing terms that result in (almost) non-termination
-
Added corpus
-
General parser upgrade
-
Added parser for
hms
-
Added missing exception handling in
Time.patternforRange.Range_is_invalid -
Added local time zone detection (
Timere.Time_zone.local) -
Swapped to using local time zone by default in
Timere.Date_timeAPI -
Added missing to/of sexp functions for
Date_timeandDurationmodules -
Added pretty printers for
Timere.hms
- Base version
- Base version