Closed ghkhashayar closed 4 years ago
Hi, Please create a demo
you may have used moment.locale('fa')
so you would need to use locale('en')
before the format
method as the following code
moment.from('1377/02/15', 'fa', 'YYYY/MM/DD').locale('en').format('YYYY/MM/DD')
I Try it. not work. it return: 1377/02/15 I use in the vue.js and install vue-jalali-moment library.
Please create a demo in stackblitz demo
Hi, I Write This Code:
moment.from('1377/02/15', 'fa', 'YYYY/MM/DD').format('YYYY/MM/DD')
And Return To Me: 1377/02/15How I Can Convert Jalali To Gregorian?