futreall
65c47f377d
Update CHANGELOG.md
2024-12-02 11:35:10 +01:00
Viktor Szépe
77d50b1fc1
Fix typos
2024-10-20 07:46:13 +00: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
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
Eric Sheppard
45142764ab
update changelog
...
remove extra ]
2022-08-13 15:33:52 +02:00
Brent Gardner
ab688c384f
Implement Add<Months>
and Sub<Months>
for NaiveDate
( #731 )
...
* Add add_months()
* Months struct with Add and Sub impls
* Update changelog
2022-07-30 22:39:13 +10:00
Eric Sheppard
27c05589ac
dont use stub.rs when wasmbind feature is enabled
...
no longer require wasmbind feature to get js-sys on wasm32-unknown-unknown target
fix comment and remove wasmbind feature from tests
add wasi test
add wasi test
2022-07-28 13:57:09 +02:00
Finomnis
acd4ecf09f
Add compatibility with rfc2822 comments ( #733 )
...
* Add compatibility with rfc2822 comments
* Refactor rfc2822 comment parser
2022-07-24 20:17:38 +10:00
Andre Braga Reis
187819ff43
Update the changelog
2022-07-15 09:04:09 +02:00
Micha White
cb9239828a
NaiveDateTime
to DateTime
helper method (#711 )
...
* Added a and_timezone method
* Added a couple of tests
* Added the change to the changelog
* Wrong name, silly
* Fixed formatting
* Changed the method name
* Added a disclaimer to the documentation
2022-06-19 22:10:17 +10:00
metent
13e1d48365
Remove unused libc dependency from Cargo.toml ( #710 )
...
* Remove unused libc dependency from Cargo.toml
* Add libc feature to prevent potentially breaking change
* Document libc dependency removal
2022-06-17 10:55:18 +10:00
Sebastián Estrella
8dd7245f85
[ #654 ] Get week start and end days ( #666 )
...
Co-authored-by: David Mazarro <dmunuera@stackbuilders.com>
Co-authored-by: Jorge Guerra <jguerra@stackbuilders.com>
2022-06-15 14:01:18 +02:00
Bryan Henry
d7c743e47a
Make ParseErrorKind public and available through ParseError::kind() ( #588 )
...
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
Co-authored-by: Erlend Langseth <3rlendhl@gmail.com>
2022-06-09 11:34:09 +02:00
Micha White
150f6d1036
Added the change and my username to the changelog
2022-06-09 10:55:09 +02:00
Jake Vossen
7c0bc31a63
Implement std::iter::Sum for Duration ( #522 )
2022-06-09 10:01:13 +02:00
Yohan Boogaert
1d33cbcb6e
Add elapsed_years
to Date
and DateTime
( #557 )
...
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
Co-authored-by: Milo <50248166+Milo123459@users.noreply.github.com>
2022-06-08 13:06:27 +02:00
Téo Bouvard
5bf8016068
Add support for double ended days+weeks iterators
...
This allows users to use `.rev()` on `.iter_days()` and `.iter_weeks()`,
in order to iterate on dates backwards.
2022-05-24 13:01:22 +02:00
Yureka
4cfcd405d1
add changelog entry
2022-04-09 13:04:53 +02:00
Constantin Nickel
a6bf842a03
feat(naive): add serde modules for optional timestamps
...
- `naive::serde::ts_nanoseconds_option`
- `naive::serde::ts_microseconds_option`
- `naive::serde::ts_milliseconds_option`
- `naive::serde::ts_seconds_option`
2022-03-24 17:30:47 +01:00
Constantin Nickel
6471b362da
feat(naive): add serde module for microseconds serialization
2022-03-24 17:30:47 +01:00
Weiyuan Wu
0ec64a9723
add optional rkyv support
2022-03-23 22:06:48 +01:00
AR Baart
9a5f76c9bb
Fix issue #658 duration_round by zero panics ( #659 )
2022-03-21 21:44:49 +01:00
Roland Fredenhagen
323b4b4a0b
change UTC::now() documentation to "date and time" ( #647 )
2022-03-01 09:49:05 +01:00
Milo
e0656ac944
Merge branch 'main' into main
2021-10-30 11:02:52 +01:00
Milo
0f037702be
Update CHANGELOG.md
2021-10-25 17:47:52 +01:00
retrhelo
f4302b5b52
add DateTime::from_local()
2021-07-01 14:47:41 +08:00
Guillaume Turchini
b3cea49919
Update CHANGELOG.md
2021-06-05 03:44:12 +02:00
Rob Young
312b7b3704
Implement DurationRound for NaiveDateTime
...
This is off the back of [this
comment](https://github.com/chronotope/chrono/pull/445#issuecomment-717323407 ).
2020-11-30 21:05:05 +00:00
Rob Young
80b285983f
Fix chrono::DurationRound is not TZ aware
...
Fixes #495
2020-11-30 21:03:11 +00:00
Jared Vann
b3ce83550b
Add serde functions for microsecond timestamps
2020-11-13 13:47:34 -05:00
Thomas
78305947ff
Add to changelog
2020-11-10 12:23:05 +01:00
Brandon W Maister
4eeedcfcc4
Release 0.4.19
2020-09-30 10:54:28 -04:00
Brandon W Maister
866eb61277
Update changelog for 0.4.18 ( #486 )
2020-09-26 11:34:01 -04:00
Brandon W Maister
a9dd78418f
Release v0.4.17
2020-09-25 21:08:21 -04:00
Brandon W Maister
136b4690ec
Release 0.4.16
2020-09-25 15:19:33 -04:00
Nikhil Benesch
5115c6f5f9
Don't require time crate for clock
feature ( #478 )
...
Absorb just enough of the time crate that it is no longer required for
the clock feature. v0.1 of the time crate is long deprecated, and v0.2 of
the crate is a complete rewrite.
Vendoring v0.1 allows chrono to control its own destiny. It also means
that downstream users that have upgraded to the time v0.2 ecosystem do
not wind up with both time v0.1 and v0.2 in the dependency tree.
Even with this patch, the dependency on the old time crate remains by
default for backwards compatibility. Specifically, the
`chrono::Duration` type is a re-export of the `time::Duration` type when
the `oldtime` feature is enabled, as it is by default. The intent is
that the `oldtime` feature will be removed when chrono v0.5 is released.
Supersedes #286 .
Fixes #400 .
2020-09-25 15:14:58 -04:00
Aleksandr Bashurov
f4c42b4f14
Skip IANA TZ names when parsing %Z specifier ( #473 )
2020-08-21 11:56:10 -04:00
Brandon W Maister
7e0c0de619
Release 0.4.15
2020-08-14 17:00:31 -04:00
Brandon W Maister
47fa56c0c0
Document that 0.4.14 is yanked ( #469 )
...
Gotta improve some tests
2020-08-07 12:10:55 -04:00
Brandon W Maister
db5b217326
Release 0.4.14
2020-08-07 10:59:12 -04:00
ShadoySV
93e6a611d6
Add to authors and changelog
2020-08-05 13:11:44 +03:00
Cecile Tonglet
8d6d83f7b8
Locales and format_localized ( #453 )
2020-07-31 10:05:40 -04:00
hhamana
38810a33bf
Adds a public Month enum.
...
Implementation for a Month enum, allowing -ser|de-rialization.
The implementation mostly mirrors the Weekday enum.
It only adds the enum with minimal integration so as to
not cause any backwards compatibility issue.
A deeper integration should be up to discussion.
Suggested in Issue #202
2020-07-24 14:43:12 -04:00
Rob Young
bfddc1e5fa
Update CHANGELOG for day and week iterators
2020-07-24 13:11:13 -04:00
Rob Young
aaee912228
Add MIN and MAX DateTime, Time and NaiveDateTime ( #452 )
...
Resolves #386
2020-07-10 17:32:19 -04:00
Brandon W Maister
a905c556d8
Add unreleased section to changelog ( #448 )
2020-07-06 08:53:58 -04:00
Brandon W Maister
cc0e795b59
Release v0.4.13
2020-07-05 18:50:00 -04:00