Paul Dicker
Paul Dicker
We can get a sensible result if we create an intermediate value with the date of `now` and the time of `base`, picking the earliest datetime if ambiguous. Then we...
I was just reading the implementation of `DateTime::years_since` and wondering how it dealt with differences in timezones. Does it work in local time or UTC? and if in local time,...
I can probably write the fix described in https://github.com/chronotope/chrono/issues/1398#issuecomment-1920023008 and a test in two hours. The reason to open this issue is that I should get in the habit of...
@djc May I ask for this PR as a next one to review? If @Zomtir wants to work on `NaiveDate::checked_add*` and `NaiveDateTime::checked_add*` (and `with_year`...) it would be nice to have...
I'll try to help get this PR ready. Added some very basic doctests. Good this was requested in previous reviews, as it didn't work yet :smile:. We now need to...
Hmm, [`desertialize_any`](https://docs.rs/serde/latest/serde/de/trait.Deserializer.html#tymethod.deserialize_any) may not be the best thing to reach for: > Require the `Deserializer` to figure out how to drive the visitor based on what data type is in...
I've opened a question in the serde repo just in case. I think this is not going to work out, but no need to hurry closing this PR yet :smile:.
Closing as this approach seems like it is not going to work.
I am not super convinced of the usefulness of all these methods. My reason is that there are all kinds of operations someone may want to do on dates. Where...