jeudi 21 novembre 2019

how to convert UTC time to specified format in momentjs in ember helper

i am working in ember with moment js. this below code convert my local time to UTC format

and output is like Tue Nov 26 2019 00:00:00 GMT+0000.

But i want to display the output like Tue, 26 Nov, 2019.

i tried moment-format for utc time but no luck




Aucun commentaire:

Enregistrer un commentaire