If you have a format other then ISO 8601 it is best to pass the format string as a second argument to moment. moment('04-02-2016', 'MM-DD-YYYY').format('YYYY-MM ...
確定! 回上一頁