I am trying to recover the date format according to the location. For example, if I use moment.locale('fr')
retrieve "DD/MM/YYYY"
or retrieve "YYYY/MM/DD"
with moment.locale('en')
.
As you can see, I use MomentJS for my date management.
Is there a MomentJS function to recover the format?