1632 Commits

Author SHA1 Message Date
Paul Dicker
78e79dbabf Match on tuples in format_fixed 2024-04-06 14:44:46 +02:00
Paul Dicker
f3d76c7bb0 Match on tuples in format_numeric 2024-04-06 14:44:46 +02:00
Paul Dicker
8df4ad295f Inline weeks_from_* 2024-04-06 14:44:46 +02:00
Paul Dicker
6302158850 Always have a locale field 2024-04-06 14:44:46 +02:00
Paul Dicker
7f57dde63c Remove appveyor.yml 2024-04-04 11:13:23 +02:00
Paul Dicker
838b9dd62a Only package files needed for building and testing 2024-04-04 11:13:23 +02:00
Paul Dicker
8b1364f680 CI: Treat some features as mutually exclusive in cargo hack check 2024-04-04 09:08:02 +02:00
Paul Dicker
0b9b160d1e CI: Skip oldtime, rkyv and wasmbind in cargo hack check 2024-04-04 09:08:02 +02:00
Paul Dicker
fe43396283 Make format_fixed a method 2024-04-04 07:26:11 +02:00
Paul Dicker
06a6b01f3b Make format_numeric a method 2024-04-04 07:26:11 +02:00
Paul Dicker
cc0139996f Inline format_inner 2024-04-04 07:26:11 +02:00
Paul Dicker
4947c90046 Factor out DelayedFormat::format 2024-04-04 07:26:11 +02:00
Paul Dicker
5c1c87c61d Pass date and time by value 2024-04-04 07:26:11 +02:00
Paul Dicker
080d623dd3 Factor out Fixed formatting 2024-04-04 07:26:11 +02:00
Paul Dicker
a36a45ad36 Factor out Numeric formatting 2024-04-04 07:26:11 +02:00
Paul Dicker
ffe27452c6 Merge datetime::test_*_json into their tests 2024-04-04 06:59:09 +02:00
Paul Dicker
e9849ed602 Merge naive::datetime::test_*_json into their tests 2024-04-04 06:59:09 +02:00
Paul Dicker
cba4baad32 Merge naive::time::test_*_json into their tests 2024-04-04 06:59:09 +02:00
Paul Dicker
cfe7b740ab Merge naive:📅:test_*_json into their tests 2024-04-04 06:59:09 +02:00
Jubilee Young
6c4e735675 Justify not using --all-features with rkyv 2024-03-30 15:01:40 +01:00
Jubilee Young
be62a7f116 Remove rustc-serialize feature
And docs and deny exceptions and...
2024-03-30 15:01:40 +01:00
Jubilee Young
6c86cd1560 Remove rustc-serialize from library 2024-03-30 15:01:40 +01:00
Paul Dicker
7d62045ec4 Prepare 0.4.37 v0.4.37 2024-03-27 12:42:39 +01:00
Paul Dicker
6857d00070 Hide re-export of LocalResult in docs 2024-03-27 12:42:39 +01:00
Paul Dicker
9e22e48d15 Swap MappedLocalTime and LocalResult type alias 2024-03-27 12:42:39 +01:00
Paul Dicker
ca3c3b6293 Prepare 0.4.36 v0.4.36 2024-03-26 17:36:07 +01:00
Paul Dicker
1850198da9 Revert TimeDelta deprecations 2024-03-26 17:36:07 +01:00
Paul Dicker
e05ba8b9c2 Add MappedLocalTime::and_then 2024-03-22 12:18:15 +01:00
Paul Dicker
3adfd88ce0 Main documentation: simplify links and reflow text 2024-03-22 11:03:25 +01:00
Paul Dicker
1e8df65f47 Rustfmt doc comments 2024-03-22 10:39:08 +01:00
Paul Dicker
1b57859782 Run doctests with alloc feature if possible 2024-03-22 10:39:08 +01:00
Paul Dicker
6f2c7ccabd Use different method to run feature-dependent doctests 2024-03-22 10:39:08 +01:00
Paul Dicker
61d54b5de8 Remove unnecessary "```ignore" 2024-03-22 10:39:08 +01:00
Paul Dicker
18328a8d9f Replace .and_local_timezone(Utc) with .and_utc() 2024-03-21 13:08:55 +01:00
Paul Dicker
28a46c9b2f Remove 'This can fail' documentation from NaiveDateTime::and_local_timezone 2024-03-21 13:08:55 +01:00
Paul Dicker
c370ef6a3b Simplify NaiveDate::diff_months 2024-03-21 13:08:55 +01:00
Paul Dicker
96644949a4 Simplify DateTime::date_naive 2024-03-21 13:08:55 +01:00
Paul Dicker
04eb6d346f Slightly improve serde documentation 2024-03-18 15:39:40 +01:00
Paul Dicker
c21b359c88 Turn expect macro into a function 2024-03-18 11:20:43 +01:00
Paul Dicker
d91b7d4a22 Add extra assertions to NaiveDate::from_yof 2024-03-15 11:38:19 +01:00
Paul Dicker
236b7adf32 Add DateTime::with_time() 2024-03-13 14:42:18 +01:00
Paul Dicker
1789183012 Extend documentation for MappedLocalTime 2024-03-12 13:27:43 +01:00
Paul Dicker
9511dd29e6 Rename LocalResult to MappedLocalTime, add alias 2024-03-12 13:27:43 +01:00
avoidalone
920e73b033 chore: fix some typos
Signed-off-by: avoidalone <wuguangdong@outlook.com>
2024-03-11 14:05:23 +01:00
Paul Dicker
248683338d Avoid duplicate imports 2024-03-11 11:58:30 +01:00
Paul Dicker
1aabe844ed Update windows-bindgen to 0.55 2024-03-11 10:22:08 +01:00
Moritz Oberhauser
c1cb93608e Streamline test_date_checked_add_signed 2024-03-09 17:16:35 +01:00
Moritz Oberhauser
50c0e6b93c Streamline test_date_signed_duration_since 2024-03-09 17:16:35 +01:00
Moritz Oberhauser
4ac0615ddb Streamline test_date_(add/sub)_days 2024-03-09 17:16:35 +01:00
Paul Dicker
db1c8eff16 Guard against integer overflow in TzInfo::for_year 2024-03-08 14:54:48 +01:00