You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more of a general question, throughout the crate. #41 is only for a specific function. For example, could Card.elapsed_days be an f64 instead of an i64? Could the following be changed to utilize something like num_fractional_days() mentioned in the original request?
I was wondering if there would by any interest in supporting fractional days.
Chrono's
.num_days()
does not round the number of days. See this Rust playground.A possible solution is to implement something like this:
The text was updated successfully, but these errors were encountered: