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
Ohad Lutzky
3b4af71f0b
Add warning about MappedLocalTime and wasm
...
Warns about https://github.com/chronotope/chrono/issues/1701 .
2025-05-14 10:43:45 +02:00
Tilman
c5c22a357d
Fix wrong amount of micro/milliseconds
2025-05-08 10:59:30 +02:00
misha
361b9fc61e
Add fuzzer for DateTime::parse_from_str
2025-05-04 19:54:46 +02:00
Dirkjan Ochtman
d1de1d95ea
Bump version to 0.4.41
v0.4.41
2025-04-29 10:40:34 +02:00
Jeremy Smart
e2bd1d1d67
Add support for lenient format strings ( #1693 )
2025-04-11 08:38:40 +02:00
Dirkjan Ochtman
2c95b0aca8
Tweak expression to avoid repetition
2025-04-09 13:29:05 +02:00
Nicolas Boichat
ebeef99426
TimeZone::from_posix_tz: Treat empty TZ variable as UTC
...
This is not technically POSIX, but glibc and musl behave that way:
e.g. `TZ= date` returns a UTC date.
2025-04-05 19:56:53 +02:00
Dirkjan Ochtman
dc068f0373
Tweak style on NaiveWeek fixes
2025-04-04 11:16:26 +02:00
splashling
b267a4fe90
Implemented consistent Hash and Eq trait for NaiveWeek
2025-04-04 10:58:56 +02:00
Dirkjan Ochtman
7c0bd136d6
Apply suggestions from clippy 1.86
2025-04-03 17:04:04 +02:00