time-rs / time

The most used Rust library for date and time handling.
https://time-rs.github.io
Apache License 2.0
1.1k stars 277 forks source link

Calculate next/prev weekday occurrences #594

Closed HubertK05 closed 1 year ago

HubertK05 commented 1 year ago

This PR adds functionality to improve date arithmetic. It includes:

Addresses #593 without closing.

codecov[bot] commented 1 year ago

Codecov Report

Merging #594 (624cab0) into main (52e5cee) will decrease coverage by 0.0%. The diff coverage is 90.9%.

@@           Coverage Diff           @@
##            main    #594     +/-   ##
=======================================
- Coverage   95.7%   95.7%   -0.0%     
=======================================
  Files         79      79             
  Lines       8818    8884     +66     
=======================================
+ Hits        8443    8503     +60     
- Misses       375     381      +6     
Impacted Files Coverage Δ
time/src/date.rs 98.7% <90.9%> (-1.3%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

jhpratt commented 1 year ago

Looks good. Thanks!