Hi Folks ,
I have used datepicker in the dialog and it's saving the values in 2020-06-22T00:00:00.000+05:30 like format.
I want to save the date value in (YY-MM-DD) format.
I have used granite/ui/components/coral/foundation/form/datepicker.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hi @khamat_bn,
Yes, you can provide a format using the valueFormat property. See the docs here: https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/granite-ui...
Here is an example where I set the format to YYY-MM-DD. The datepicker node:
The resulting value saved in the field:
Hi @khamat_bn,
Yes, you can provide a format using the valueFormat property. See the docs here: https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/granite-ui...
Here is an example where I set the format to YYY-MM-DD. The datepicker node:
The resulting value saved in the field:
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies