Closed eburlaka closed 8 years ago
moment.parseFormat is meant to help parsing dates from user input. 2016-07-20 16:33:58+0000
looks more like a timestamp, you can pass it directly to new Date('2016-07-20 16:33:58+0000')
or moment('2016-07-20 16:33:58+0000').format('MMMM Do YYYY, h:mm:ss a')
. Does that work for you?
moment.parseFormat('2016-07-20 16:33:58+0000')
parsed toYYYY-MM-DD H:mm:ss YYYY
, I expected:YYYY-MM-DD H:mm:ss+0000