This works pretty well in momentjs
moment('27/08/2018', 'DD/MM/YYYY')
How can we make it work in dayjs?
This fails with the following error message -
dayjs('27/08/2018', 'DD/MM/YYYY')
TypeError: Cannot create property 'date' on string 'DD/MM/YYYY'
Any update on this? Pretty essential feature for people outside the US.
Agree that this is needed. Do a lot of work with dates and would not move from moment without this feature. Lib looks nice.
This has been already requested as #136.
:tada: CustomParseFormat plugin is supported and included in version 1.8.0 :tada:
The release is available on:
Most helpful comment
Any update on this? Pretty essential feature for people outside the US.