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
{{ message }}
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
Often times when calculating week days I'd like more precision to be returned. Currently calculations less then one day get rounded down to zero. I would like to see a flag introduced to signal when to not round down. So we end up with possible values of 0.5 days or 7.3 days.
The text was updated successfully, but these errors were encountered:
Hey there @jreeter . I'm not opposed to adding something like this, but someone else would need to code it up with tests and make a PR. If you're up to the challenge I'd be happy to review!
Could really use this feature when calculating weekends. As it stands when calculating weekendDays(Friday, Saturday) it rounds down instead of rounding up.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Often times when calculating week days I'd like more precision to be returned. Currently calculations less then one day get rounded down to zero. I would like to see a flag introduced to signal when to not round down. So we end up with possible values of 0.5 days or 7.3 days.
The text was updated successfully, but these errors were encountered: