Conrad Ludgate
64e082a5f8
use less intermediate formatting (-5% improvement)
2022-10-26 15:59:01 +02:00
Sergey Potapov
b9241c0666
Implement Arbitrary for Weekday
2022-10-18 13:07:01 +02:00
Sergey Potapov
8b654b5f28
Implement Arbitrary for Month and Months
2022-10-18 13:07:01 +02:00
Sergey Potapov
87b04c5b91
Implement Arbitrary for Duration
2022-10-18 13:07:01 +02:00
Sergey Potapov
44cee53a18
Implement Arbitrary for DateTime<Tz>
2022-10-18 13:07:01 +02:00
Sergey Potapov
7af32de08a
Implement Arbitrary for Date
2022-10-18 13:07:01 +02:00
Sergey Potapov
de57f5617a
Implement Arbitrary for timezones
2022-10-18 13:07:01 +02:00
Sergey Potapov
c879b18dbf
Tweak implementation of Arbitrary for NaiveDate and NaiveTime to make it infallible
2022-10-18 13:07:01 +02:00
Alex Sayers
2eda0f1a61
Optionally implement Arbitrary for Naive{Date,Time,DateTime}
2022-10-18 13:07:01 +02:00
Dirkjan Ochtman
eb1fae64fc
Make Mdf methods fallible in the face of invalid input
2022-10-16 20:52:08 +02:00
Dirkjan Ochtman
bb874851a0
Make Of methods fallible in the face of invalid ordinals
2022-10-16 20:52:08 +02:00
Eric Sheppard
4182d12c90
add backticks in docs
2022-10-16 13:48:53 +02:00
Eric Sheppard
f60893a0dc
update criterion version
2022-10-10 22:31:08 +11:00
Dirkjan Ochtman
7cd5e03ee4
Fix up internal calls to newly deprecated methods
2022-10-09 14:15:02 +02:00
Dirkjan Ochtman
71b5881824
Extract date value to avoid multi-line match scrutinee
2022-10-09 14:15:02 +02:00
Dirkjan Ochtman
a9b250764f
Deprecate methods that have an _opt() alternative
2022-10-09 14:15:02 +02:00
Qiu Chaofan
001b19c262
Support AIX's TZDB location
2022-09-28 12:18:59 +02:00
Dirkjan Ochtman
2068695b55
Remove test-release workflow
2022-09-26 14:55:36 +02:00
Eric Sheppard
7d1060e141
use --all-features when testing other timezones and rust_versions, test 1.38.0 by itself with less features
...
fix 1.38.0 tests
add back default features in rkyv
2022-09-26 12:47:29 +02:00
Eric Sheppard
9e1836cd49
remove old ci references and supporting files
2022-09-26 12:47:29 +02:00
Eric Sheppard
3421cbdeeb
extra imports due to powerset features check
2022-09-26 12:47:29 +02:00
Eric Sheppard
2474b02198
update check-docs
2022-09-26 12:47:29 +02:00
Eric Sheppard
c59235aca2
update cross-targets
2022-09-26 12:47:29 +02:00
Eric Sheppard
e2dca90c19
consolidate wasm, add wasm features check
2022-09-26 12:47:29 +02:00
Eric Sheppard
bbf5168f13
consolidate no_std
2022-09-26 12:47:29 +02:00
Eric Sheppard
2827c22762
split test job into timezones, timezones linux, rust versions and powerset features check
2022-09-26 12:47:29 +02:00
Eric Sheppard
eb82ae603d
adjust lint workflow
2022-09-26 12:47:29 +02:00
Eric Sheppard
cb073a0db7
move test against date command to integration tests
2022-09-26 12:47:29 +02:00
Dirkjan Ochtman
147089b78f
Run CI on PRs to 0.4.x branch
2022-09-19 15:36:22 +02:00
Dirkjan Ochtman
f90a0ffb98
Deduplicate logic in from_timestamp_millis()
2022-09-19 15:36:22 +02:00
Pavel Pscheidl
926f7bf288
NaiveDateTime::from_timestamp_millis(_opt)
...
Construct NaiveDateTime from millis since epoch
2022-09-19 15:36:22 +02:00
Eric Sheppard
42ca8ca88d
duplicate add/sub days tests
2022-08-29 10:57:07 +02:00
Eric Sheppard
9a2ba95388
to -> from
2022-08-29 10:57:07 +02:00
Eric Sheppard
181b083647
add/sub Days
...
docs fixes
improve checked impls
2022-08-29 10:57:07 +02:00
Dirkjan Ochtman
2162dd7ca6
Remove extensive code examples from README
2022-08-27 15:51:04 +02:00
Dirkjan Ochtman
9c4604c0f8
Make the changelog historical from now on
2022-08-27 15:51:04 +02:00
René Kijewski
17d8c2af86
Update CHANGELOG
2022-08-22 20:26:38 +02:00
René Kijewski
e1b2675cbf
Update documentation test on CI
2022-08-22 20:26:38 +02:00
René Kijewski
16b2ae4156
Add feature documentation for docs.rs
...
This way the documentation will thell user which feature(s) are needed
to use a function, trait, etc. docs.rs display the information like
> Available on crate feature `serde` only.
2022-08-22 20:26:38 +02:00
René Kijewski
5b1b812a74
Feature is already implied
2022-08-22 20:26:38 +02:00
René Kijewski
8ebee9b977
Fix broken link in documentation
2022-08-22 20:26:38 +02:00
Eric Sheppard
3ee9bfd182
checked+regular add/sub months impls
...
add test
fix spelling :D
2022-08-22 15:11:01 +02:00
Lachezar Lechev
1b877c389d
Re-export Duration's OutOfRangeError ( #541 )
2022-08-22 22:49:29 +10:00
Brent Gardner
cd6d42bafd
Impl Add<Month> + Sub<Month> for NaiveDateTime ( #778 )
...
Co-authored-by: Eric Sheppard <github@eric.sheppard.cloud>
2022-08-18 17:40:34 +02:00
Jarosław Konik
5f5410163b
GNU coreutils date
-like time zone formatting ( #759 )
...
Co-authored-by: Eric Sheppard <key2@eric.sheppard.cloud>
2022-08-17 18:41:48 +02:00
Alexander Tesfamichael
a383abf30e
Clarify serde module contains defaults too in docs ( #777 )
...
Makes it more clear the serde module isn't *only* for alternatives it
is also required for the default implementations.
2022-08-15 10:01:42 +02:00
Mohammad AlSaleh
8275b13941
strftime: Improve "%+" documentation ( #769 )
2022-08-14 13:56:27 +02:00
Eric Sheppard
45142764ab
update changelog
...
remove extra ]
v0.4.22
2022-08-13 15:33:52 +02:00
Dirkjan Ochtman
db8bde3acf
Apply clippy suggestions
2022-08-13 15:33:52 +02:00
Dirkjan Ochtman
f6b575ceee
Bump version number to 0.4.22
2022-08-13 15:33:52 +02:00