-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Added support for ceil and floor in roundToNearestMinutes #3091
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
Added support for ceil and floor in roundToNearestMinutes #3091
Conversation
|
@Balastrong |
tan75
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A good idea 🙏
Please change this function to use the existing rounding options.
Ah I was doing some research for #3092 but I didn't mean to commit them on this branch, I'll remove that commit. |
2647827 to
239f9dc
Compare
leshakoss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This PR fixed #3063
Added an optional field to options on
roundToNearestMinutesto toggle betweenMath.floorandMath.ceil, with default onfloor.