-
-
Notifications
You must be signed in to change notification settings - Fork 741
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
Expose some useful date utilities #76
Comments
👍 |
👍 The examples make use of |
So are these exposed now as well, or I am missing something, i just saw rename utils>helpers |
Eheh wait first I had to publish the thing 😀 import { dateUtils } from "react-day-picker/utils"; the exported functions are not yet documented, but you can see them here. |
@gpbl thank you so much. I will be looking forward to it. Will update our component and add locale support. |
Thanks for the quick update. :) Much appreciated! |
The idea is to export some of the internal functions that could be useful when writing modifiers:
e.g.
isSomeDay
(#75),rangeOfDays
(#47),isDayOutsideMonth
,isPastDay
,isDayBetween
, etc.The text was updated successfully, but these errors were encountered: