-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
feat: expose internal date utils functions #831
Conversation
Thanks @epr3 ! I like the idea of exposing these utility. However I'm not sure we should expose it as a composable (useXXX). As the term I think for clarity sake we can rename |
Hello @zernonia, Both variants sound very good for me. Let me know what updates should I do to this PR. |
@epr3 I'm leaning toward |
@zernonia Will add a new folder under |
Hello,
This PR exposes some of the functions used internally in the
Calendar
/Date Field
components for creating months/years/decades, determining the types ofDateValue
objects and comparison functions.These functions might prove useful for users who might want to build more complicated
Calendar
-type components and having these utilities might help with the manipulation of theplaceholder
/modelValue
and/or building more complexCalendar
grids.