Paul Dicker

Results 345 comments of Paul Dicker

@djc Do you have an opinion on how to proceed with this PR?

Personally I think it is fine to leave the conversion between a `CFDate` and `NaiveDateTime` to the `core-foundation` crate.

I see you removed the chrono dependency in core-foundation in https://github.com/servo/core-foundation-rs/pull/666. Still it seems no-one was using this code?

Closing in favor of #1049. We have non-panicking alternatives to almost all methods now, and making them default for 0.5 is definitely on the roadmap. We now have a good...

I don't think chrono adheres all that strictly, more that it drew a lot of inspiration from ISO 8601. About the revisions ISO 8601:2019 contains this note (https://www.iso.org/obp/ui/en/#iso:std:iso:8601:-1:ed-1:v1:en): > The...

I understand. That claim has been there since pretty much the first release of chrono. At the time it was written the revision was 2014. But you opened a good...

@xTibor Do you have experience with this? Does it sometimes come up in a list of requirements like "the software must support ISO 8601:2019", and libraries must be picked to...

I am not sure yet about the best API for something like `days_in_month()`. In one case (the `NaiveDate::diff_months_days()` method in https://github.com/chronotope/chrono/pull/1247) it was not enough for me to know the...

Related: https://github.com/chronotope/chrono/issues/722.

For a tricky case: what should `Duration::minutes(20) / Duration::hours(1) ` return? The precise answer is 1/3... The standard library has an unstable [`Duration::div_duration_f64`](https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_duration_f64) that returns an `f64`. That seems like...