1768 Commits

Author SHA1 Message Date
dependabot[bot]
c6063e6f5a Update similar-asserts requirement from 1.6.1 to 2.0.0
Updates the requirements on [similar-asserts](https://github.com/mitsuhiko/similar-asserts) to permit the latest version.
- [Changelog](https://github.com/mitsuhiko/similar-asserts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/similar-asserts/compare/1.6.1...2.0.0)

---
updated-dependencies:
- dependency-name: similar-asserts
  dependency-version: 2.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 07:47:41 +02:00
dependabot[bot]
120686c82c Bump codecov/codecov-action from 5 to 6
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 07:50:45 +02:00
Jonas Platte
c14b4599d0 Bump version to 0.4.44 v0.4.44 2026-02-13 18:50:17 +01:00
Jonas Platte
ea832c5090 Add track_caller to non-deprecated functions
… that can panic because of invalid user input.
2026-02-13 18:50:17 +01:00
Jonas Platte
cfae889a3a Fix panic message in to_rfc2822 2026-02-13 18:50:17 +01:00
Carlos O'Ryan
f8900b5a44 docs: match MSRV with Cargo.toml contents 2026-02-08 21:35:25 +01:00
taozui472
45caaa970c Update copyright year to 2026 in LICENSE.txt v0.4.43 2026-01-13 09:46:06 +01:00
Dirkjan Ochtman
1c0b8f011a Bump version to 0.4.43 2026-01-09 10:16:51 +01:00
Dirkjan Ochtman
a03e43b1c3 Upgrade windows-bindgen to 0.66 2026-01-09 10:16:51 +01:00
Dirkjan Ochtman
4fedaba2a2 Ignore bincode advisory 2026-01-09 10:16:51 +01:00
dependabot[bot]
f4b7bbda67 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 07:00:35 +01:00
LucasBou
db129730e8 Added doctest for the NaiveDate years_since function (#1755) 2025-10-26 12:36:22 +01:00
spuradage
34b5f49e9d chore: minor improvement for docs
Signed-off-by: spuradage <spuradage@outlook.com>
2025-10-22 13:49:41 +02:00
dependabot[bot]
8c827116b9 Bump actions/setup-node from 5 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 07:54:28 +02:00
Dirkjan Ochtman
ea1f11b356 Drop deny lints, eager Debug impls are a mixed blessing 2025-10-19 21:04:38 +02:00
Paul Bender
35f9f2daef Add feature gated defmt support. 2025-10-19 10:02:10 +02:00
Ruslan Fadeev
334565c5f4 replace Datelike::days_between with NaiveDate::abs_diff 2025-10-14 18:29:46 +02:00
Ruslan Fadeev
c34e4c5108 add Datelike::days_between 2025-10-14 18:29:46 +02:00
dependabot[bot]
e632ffd3b8 Update windows-bindgen requirement from 0.64 to 0.65
---
updated-dependencies:
- dependency-name: windows-bindgen
  dependency-version: 0.65.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 07:07:59 +02:00
Dirkjan Ochtman
ebc808e8fa feat: faster RFC 3339 parsing without Parsed
Co-authored-by: SomeBodY1CE <someonecallsyou@gmail.com>
2025-10-03 17:45:20 +02:00
SomeBodY1CE
e0dd9c5f16 refactor: scan::nanosecond to return u32 2025-10-03 17:45:20 +02:00
SomeBodY1CE
728822e2a9 test: a couple more tests for strict rfc3339 parsing 2025-10-03 17:45:20 +02:00
Dirkjan Ochtman
0061d86cb5 Drop stabilized feature doc_auto_cfg 2025-10-01 17:09:44 +02:00
Dirkjan Ochtman
09ab2089fb Inline bindings specification 2025-10-01 15:39:39 +02:00
Dirkjan Ochtman
58f4667206 Allow windows-bindgen codegen on any host target 2025-10-01 15:39:39 +02:00
Dirkjan Ochtman
113777a22f Upgrade windows-bindgen to 0.64 2025-09-26 11:14:29 +02:00
Dirkjan Ochtman
0f016846f1 Install extra components for lint workflow
Install rustfmt for workflows that call `cargo test`, to make sure
rustfmt is available for the `win_bindings` codegen test.
2025-09-26 09:59:34 +02:00
Dirkjan Ochtman
f3fd15f976 Bump version to 0.4.42 v0.4.42 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
5cf5603500 strftime: add regression test case 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
a6231701ee strftime: simplify error handling 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
36fbfb1221 strftime: move specifier handling out of match to reduce rightward drift 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
7f413c363b strftime: yield None early 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
9d5dfe1640 strftime: outline constants 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
e5f6be7db4 strftime: move error() method below caller 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
d516c2764d strftime: merge impl blocks 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
0ee2172fb9 strftime: re-order items to keep impls together 2025-09-08 10:59:14 +02:00
Dirkjan Ochtman
757a8b0226 Upgrade to windows-bindgen 0.63 2025-09-08 09:39:44 +02:00
Benjamin Brittain
78c0fbcf18 Migrate to core::error::Error
Stabilized in rust 1.81, behind a feature flag so
as to not bump the current MSRV of 1.61.
2025-09-08 09:28:52 +02:00
dependabot[bot]
0813b2c994 Bump actions/setup-node from 4 to 5
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:27:03 +02:00
dependabot[bot]
0f22fbda3c Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 09:05:33 +02:00
Jason Owen
6aeea3ff5c Add from_timestamp_secs method to DateTime
Add a new single-argument function for creating a `DateTime` from a Unix
timestamp, to match `from_timestamp_micros`, `from_timestamp_millis`,
and `from_timestamp_nanos`.

Refactor existing code and examples to use
`DateTime::from_timestamp_secs` and `DateTime::from_timestamp_millis`
where possible.

Issue #1716 Suggestion: add DateTime::from_timestamp_secs function
2025-08-14 21:22:08 +02:00
Huliiiii
59d5f46f17 Add ?Sized bound to related methods of DelayedFormat::write_to 2025-08-12 15:34:48 +02:00
Dirkjan Ochtman
b4b9aa580c Apply suggestions from clippy 1.89 2025-08-08 17:04:30 +02:00
Piotr Findeisen
d43108cbfc Convert NaiveDate to/from days since unix epoch 2025-07-21 10:57:27 +02:00
Piotr Findeisen
68fd4b67cf Fix typo in a comment 2025-07-21 10:57:27 +02:00
ldm0
23c132fc4f Fix OpenHarmony's local timezone fetching and tzdata parsing 2025-07-08 16:51:28 +02:00
Dirkjan Ochtman
9245a8f38f Apply suggestions from clippy 1.88 2025-06-27 10:00:40 +02:00
Dirkjan Ochtman
bab97905cc Upgrade to windows-bindgen 0.62 2025-06-16 11:11:12 +02:00
Arjun Ramesh
1762c71777 Fix cfgs for wasm32-linux support 2025-06-05 10:24:17 +02:00
Chris Leach
2e1cd2f5fa Fix incorrect parsing of fixed-length second fractions (#1705)
Co-authored-by: Chris Leach <chris.leach@garrison.com>
2025-06-03 13:48:36 +02:00