Uncaught TypeError date.locale is not a function
I am using ant design
And I get the
TimePicker component on my form. While creating a form it doesn't have a problem but when I am trying to edit and click on edit icon then my edit page crashes with the above mentioned error. My detail page response from API is: And I get the
start_time and end_time as string, which TimePicker component cannot convert to dayjs. What can I do to make it work?