More date helpers? #11917
doingandlearning
started this conversation in
Ideas
More date helpers?
#11917
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The date helper in bindings is great but I wonder if there is room for more date related helpers.
A really common task is to increment/decrement from a date.
This can end up with some pretty gnarly JS to create the date, add on the right number of days and then return.
Would it be possible to provide something like the date-fns library in bindings?
Either wrapping it into the current date implementation:
Or creating a new set of helper functions that align with the date-fns (or similar) framing
Could be nice to add in some more date bindings like:
or
What y'all think?
See you {{ incrementTime now }}!
Beta Was this translation helpful? Give feedback.
All reactions