The date is sent from backend in this format:
"2022-01-01T00:00:00.00000"
How to display date without hours/minutes/seconds like this:
2022-01-01?
On my .tsx component I have InputDatepicker:
<InputDatepicker
label="Training date"
value={trainingData?.trainingDate || ''}
/>