Paul Dicker
|
26746b81d0
|
Remove Of::with_ordinal
|
2024-02-12 11:45:28 +01:00 |
|
Paul Dicker
|
dd873d25df
|
Remove Of::pred
|
2024-02-12 11:45:28 +01:00 |
|
Paul Dicker
|
1835cfcde2
|
Remove Of::succ
|
2024-02-12 11:45:28 +01:00 |
|
Paul Dicker
|
2e00a1ca0b
|
Move MIN_YEAR and MAX_YEAR constants
|
2024-02-12 11:10:25 +01:00 |
|
Paul Dicker
|
b0f40bcedd
|
Add description of NaiveDate internal format
|
2024-02-12 11:10:25 +01:00 |
|
Paul Dicker
|
e9be4fd8e9
|
Rename ymdf field to yof
|
2024-02-12 11:10:25 +01:00 |
|
Paul Dicker
|
ca10fea322
|
Remove DateImpl type alias
|
2024-02-12 11:10:25 +01:00 |
|
Paul Dicker
|
1cebe0cfda
|
Run GitHub Actions on push to 0.5.x branch
|
2024-02-12 10:36:23 +01:00 |
|
Paul Dicker
|
dc19606265
|
Prepare 0.4.34
v0.4.34
|
2024-02-11 06:39:29 +01:00 |
|
Paul Dicker
|
58a2149a8e
|
Add StrftimeItems::parse_to_owned
|
2024-02-10 20:02:54 +01:00 |
|
Paul Dicker
|
59eeb8c537
|
Add StrftimeItems::parse
|
2024-02-10 20:02:54 +01:00 |
|
Paul Dicker
|
79de122615
|
Add more documentation to StrftimeItems::new_with_locale
|
2024-02-10 20:02:54 +01:00 |
|
Paul Dicker
|
5b7cf85c53
|
Add more documentation to StrftimeItems::new
|
2024-02-10 20:02:54 +01:00 |
|
Paul Dicker
|
be6af79ae5
|
Make Display format of TimeDelta conform better to ISO 8601
|
2024-02-10 19:46:00 +01:00 |
|
Paul Dicker
|
d1cf0e9393
|
Add test for issue 651
|
2024-02-10 19:37:55 +01:00 |
|
Paul Dicker
|
0ef34e4da3
|
Extend test to more distant dates
|
2024-02-10 19:37:55 +01:00 |
|
Paul Dicker
|
fc67f3e6e0
|
Remove obsolete test
|
2024-02-10 19:37:55 +01:00 |
|
Paul Dicker
|
acb693ac64
|
Windows: rewrite using GetTimeZoneInformationForYear
And add test against previous implementation
|
2024-02-10 19:37:55 +01:00 |
|
Paul Dicker
|
5fb4fabd13
|
Add test for localized formatting of %X
|
2024-02-10 19:04:57 +01:00 |
|
Paul Dicker
|
73388ca42a
|
Update pure-rust-locales to 0.8.0
|
2024-02-10 19:04:57 +01:00 |
|
Paul Dicker
|
ded9fe1585
|
Move TOO_LONG error out of parse_internal
|
2024-02-09 12:00:44 +01:00 |
|
Paul Dicker
|
42db00a981
|
Remove incomplete parsing support for -0000 offset
|
2024-02-07 13:36:44 +01:00 |
|
Paul Dicker
|
9c07a015df
|
Make range check more accurate, and add comment why it is not useless
|
2024-02-07 13:36:44 +01:00 |
|
Paul Dicker
|
51cb026a58
|
Replace 86_400 with MAX_RFC3339_OFFSET
|
2024-02-07 13:36:44 +01:00 |
|
Georgi Krastev
|
5656a9ed67
|
Add a test for duration_round close to min / max
|
2024-02-07 12:28:22 +01:00 |
|
Georgi Krastev
|
8eb92d96c4
|
Replace DurationExceedsTimestamp example with a note.
|
2024-02-07 12:28:22 +01:00 |
|
Georgi Krastev
|
c1f04222ca
|
Remove check for DurationExceedsTimestamp
This check is not necessary and prevented rounding and truncation
from working correctly on timestamps close to the Unix epoch.
|
2024-02-07 12:28:22 +01:00 |
|
Paul Dicker
|
ef9a4c9539
|
Sync with 0.5 branch
|
2024-02-05 14:59:17 +01:00 |
|
Paul Dicker
|
ce97c2ef52
|
TimeDelta is not a full ISO 8601 duration
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
32fa222144
|
Update main documentation
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
ec7fc642b7
|
Rename duration module to time_delta
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
ac383d5303
|
Rename Duration to TimeDelta in duration module, flip type alias
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
6da68c8d04
|
Rename remaining uses of Duration to TimeDelta
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
3a9d8a3a3c
|
Rename Duration to TimeDelta in date module
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
3bd9a90e91
|
Rename Duration to TimeDelta in round module
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
20e9a73aa3
|
Rename Duration to TimeDelta in naive::date module
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
04050b85f1
|
Rename Duration to TimeDelta in naive::time module
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
b28c59c401
|
Rename Duration to TimeDelta in naive::datetime module
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
d079c8c032
|
Rename Duration to TimeDelta in datetime module
|
2024-02-05 12:31:46 +01:00 |
|
Paul Dicker
|
6659f7b9eb
|
Add TimeDelta as type alias of Duration
|
2024-02-05 12:31:46 +01:00 |
|
dependabot[bot]
|
f4b47013ed
|
Bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [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/v3...v4)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-02-05 11:50:42 +01:00 |
|
Paul Dicker
|
ae695a412c
|
Fix check for nanos in Duration::new
|
2024-02-04 19:20:01 +01:00 |
|
Paul Dicker
|
f848876248
|
Make Duration::new public
|
2024-02-04 19:20:01 +01:00 |
|
Paul Dicker
|
b92b736f52
|
Set main branch as dependabot target
|
2024-02-02 14:10:19 +01:00 |
|
Paul Dicker
|
6f06e1ab0e
|
Make methods on DateTime const where possible
|
2024-02-02 09:51:57 +01:00 |
|
Paul Dicker
|
fd66791996
|
Make remaining methods on NaiveDateTime const
|
2024-02-01 21:29:28 +01:00 |
|
Paul Dicker
|
f78eb20ef1
|
Make NaiveTime::overflowing_sub_signed const
|
2024-02-01 21:29:28 +01:00 |
|
Paul Dicker
|
e56f9c5797
|
Simplify NaiveTime::overflowing_add_signed and make const
|
2024-02-01 21:29:28 +01:00 |
|
Paul Dicker
|
4836953431
|
Make NaiveTime::signed_duration_since const
|
2024-02-01 21:29:28 +01:00 |
|
Paul Dicker
|
912cc63602
|
Make remaining methods on NaiveDate const
|
2024-02-01 21:29:28 +01:00 |
|