chrono icon indicating copy to clipboard operation
chrono copied to clipboard

Date and time library for Rust

Results 262 chrono issues
Sort by recently updated
recently updated
newest added

More tests for combinations of `DateTime::into`. Follow-up to Pull Request #271.

The first commit is shared with https://github.com/chronotope/chrono/pull/1082. Then a couple of commits do some cleanup and add a new offset parser. All the test keep passing, except some of those...

waiting-on-review

Split out from https://github.com/chronotope/chrono/pull/1040.

This PR aims to address https://github.com/chronotope/chrono/issues/196#issuecomment-1549430697 - [x] Implement ts_seconds_string (in DateTime) - [x] Implement ts_milliseconds_string - [x] Implement ts_microseconds_string - [x] Implement ts_nanoseconds_string - [x] Add optionals (e.g. ts_seconds_string_option)...

serde

If the general direction of this documentation seems useful, I can write it for more types. My idea is to give a tour of the available methods on a type,...

waiting-on-review

* Add overflowing_add_opt and overflowing_sub_opt, similar to the existing overflowing_add_signed/overflowing_sub_signed. The implementations are a bit more complex as as they can no longer use negation. There may be opportunity for...

These functions are to reduce the number of unwraps needed when creating NaiveDates

waiting-on-review

change Days to take a u32 and addition of DaysDelta to NaiveDate, changes to Iterator Implementations This has been separated out from #824

waiting-on-review

The following code works with chrono 0.4.31, but fails with 0.4.32: ```rust fn main() { use chrono::NaiveDate; let min_naive_date: NaiveDate = NaiveDate::MIN; assert_eq!( min_naive_date, NaiveDate::from_ymd_opt(-262144, 1, 1).unwrap() ); } ```...