You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Case -
When I want to show date range in format like "Nov 18, 22 - Nov 30, 22", I'm stuck default format is very verbose & does not offer best UI for most use cases.
Suggested solutions-
expose value prop that can be passed to DtPicker, that will be further passed down to tag.
expose a formatValue function, date or date range will be formatted using this function. Specifically this will requires passing correctValue function here as prop.
@mmehdinasiri Let me know your thoughts on this, I think we should go with 2. I'll do a PR after your approval.
PS: using this in production, so 🤞
Regards,
Atul Yadav
The text was updated successfully, but these errors were encountered:
Thank you for your suggestion,
Actually, I wanna implement a way to handle date formate in the future but right now I am busy a little until the next month but if you can help me I would be grateful.
Use Case -
When I want to show date range in format like "Nov 18, 22 - Nov 30, 22", I'm stuck default format is very verbose & does not offer best UI for most use cases.
Suggested solutions-
value
prop that can be passed to DtPicker, that will be further passed down to tag.formatValue
function, date or date range will be formatted using this function. Specifically this will requires passingcorrectValue
function here as prop.@mmehdinasiri Let me know your thoughts on this, I think we should go with 2. I'll do a PR after your approval.
PS: using this in production, so 🤞
Regards,
Atul Yadav
The text was updated successfully, but these errors were encountered: