我有一个字符串类型:14-03-2019的日期,我需要以unix格式转换它。(/Users/Hernan/Haip/haip/node_modules/moment/moment.js:2594:13) at prepareConfig (/Users/Hernan/Haip/haip/node_modules/moment/moment.js:2577:13) (/Users/He
为了理解moment.js是如何将字符串转换为日期的,我遇到了这个问题。let date = "User has logged in to more than 10 .console.log(moment(invalid)); //output invalid date
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/mom