507 Commits

Author SHA1 Message Date
renovate[bot] 72cada4740 chore(deps): update rust crate codspeed-criterion-compat to v4 2026-04-01 10:22:53 +02:00
Daniel Hofstetter 108ebcb04a ci: use "cargo check" for MSRV check (#278) 2026-04-01 09:56:10 +02:00
Sylvestre Ledru fe0fd40ea5 Add benchmarks for extended year / ParsedDateTime API (#276)
Cover the extended year functionality introduced in #263:
- Basic extended year parsing (year 10000)
- Rollover from in-range to extended (9999-12-31 +1 day)
- Relative parsing with extended year base date
- Large year parsing (year 999999)
2026-04-01 08:01:02 +02:00
codspeed-hq[bot] 30ea3911d7 Add CodSpeed performance benchmarks (#273)
Co-authored-by: codspeed-hq[bot] <117304815+codspeed-hq[bot]@users.noreply.github.com>
2026-03-31 23:48:09 +02:00
abhishekpradhan ee4971cc73 Add extended runtime + ParsedDateTime API for large years (#263) 2026-03-31 09:51:07 +02:00
oech3 f6f1257961 ci: simplify, reproducible and fast setup 2026-03-31 09:32:44 +02:00
renovate[bot] 82b82df5b9 chore(deps): update rust crate winnow to v1.0.1 2026-03-30 15:57:54 +02:00
renovate[bot] d46a321e82 chore(deps): update codecov/codecov-action action to v6 2026-03-27 07:23:15 +01:00
renovate[bot] cfcf9c307d fix(deps): update rust crate winnow to v1 2026-03-18 07:07:44 +01:00
renovate[bot] d3367318eb chore(deps): update rust crate winnow to v0.7.15 2026-03-06 07:20:24 +01:00
renovate[bot] 8c59af1c99 chore(deps): update rust crate jiff to v0.2.23 2026-03-04 07:03:13 +01:00
renovate[bot] 7aeb87d88e chore(deps): update rust crate jiff to v0.2.22 2026-03-01 10:43:59 +01:00
renovate[bot] 65f9eac853 chore(deps): update rust crate jiff to v0.2.21 2026-02-23 07:15:17 +01:00
abhishekpradhan 4a1b3f3777 Groundwork: widen year parsing bounds for GNU max year (#261)
---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-02-22 17:17:44 +01:00
Sylvestre Ledru f68a01699e prepare release 0.14.0 v0.14.0 2026-02-14 18:55:26 +01:00
Sylvestre Ledru 73b4b0a50c improve the code coverage 2026-02-14 18:19:31 +01:00
Sylvestre Ledru 002ca41008 tests: add edge case tests for 0 years and 0 months
Add tests to verify that adding 0 years or 0 months returns the
original date unchanged, including edge cases with Feb 29.
2026-02-14 18:19:31 +01:00
Sylvestre Ledru 818cfa4ad0 date: add more tests for cross-TZ-mishandled test - embedded timezone
NOTE: This commit only adds tests as the implementation was already
working correctly. These tests document and verify the expected
behavior for the embedded timezone edge case referenced in Debian
bug #851934.
2026-02-14 18:19:31 +01:00
Sylvestre Ledru 5cf8a6fbdd date: add more tests leap year overflow 2026-02-14 18:19:31 +01:00
Sylvestre Ledru 9688db08a8 Fix the coverage (#260) 2026-02-14 17:53:31 +01:00
cerdelen f10a950e23 parse_datetime: better variable name 2026-02-14 11:21:39 +01:00
cerdelen 14bbd4e848 parse_datetime: relative Year overflow for leap years 2026-02-14 11:21:39 +01:00
cerdelen dbfdea454f parse_datetime: Remove unnessecary import 2026-02-14 11:21:39 +01:00
cerdelen 7e528ad609 parse_datetime: Implement GNU style overflow/underflow
In GNU if using date with relative Months with the -d flag and the target Month does not have the source day (for example 31) GNU overflows the diff in days.
2026-02-14 11:21:39 +01:00
cerdelen 6306843888 parse_datetime: add regression tests 2026-02-14 11:21:39 +01:00