chronotope / chrono

Date and time library for Rust
Other
3.3k stars 523 forks source link

Convert `checked_add_months`, `checked_sub_months` to return `Result` #1537

Closed pitdicker closed 6 months ago

pitdicker commented 6 months ago

Last pieces of NaiveDate and NaiveDateTime :tada: (except parsing).

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 98.07692% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 93.95%. Comparing base (08c9792) to head (5fdb9f4).

Files Patch % Lines
src/naive/date/mod.rs 94.73% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 0.5.x #1537 +/- ## ========================================== - Coverage 93.98% 93.95% -0.03% ========================================== Files 37 37 Lines 16656 16591 -65 ========================================== - Hits 15654 15588 -66 - Misses 1002 1003 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.