New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Round to nearest X of interval #787
Labels
Comments
This works for me to round minutes (not a general solution, feel free to expand, my use case was to just round down to the start of nearest 15min):
|
I like the idea. 👍 for |
kossnocorp
pushed a commit
that referenced
this issue
Oct 18, 2018
This functionality was released as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry if this has already been answered, but I searched the issues and docs and didn't see anything like this.
Is there a way to round to the nearest X of an interval with
date-fns
? For example, is there anything like this?The text was updated successfully, but these errors were encountered: