摘要: 1、设置语言环境,如设置中文环境: moment.locale("zh-cn"); 2、当前时间、指定时间: // 假设当前时间为:2018年12月10日 moment(); // 结果:moment("2018-12-10T14:25:00.463") moment(new Date()); // 阅读全文
posted @ 2020-03-26 11:21 _Gj 阅读(366) 评论(0) 推荐(0) 编辑