DatePicker value
and onValueChange
#3223
-
Why its to complicated? Why not use just this: {
value: Date[]
onValueChange: (details: { value: Date[], ...rest }) => void
} |
Beta Was this translation helpful? Give feedback.
Answered by
segunadebayo
Jan 16, 2025
Replies: 1 comment
-
We use https://www.npmjs.com/package/@internationalized/date because it helps us handle timezone and locale-based dates without much code. Using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
segunadebayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use https://www.npmjs.com/package/@internationalized/date because it helps us handle timezone and locale-based dates without much code.
Using
Date
looks simple but gets complex when time, localization, and timezone components are included.