我有一个问题,我想创建一个日期数组使用moment.js,然后显示在一个表中的日期数组的内容。 <table border="1">
<tr ng-repeat="days in arr track by $index">
<td ng-repeat="d in days track by $index">
{{d}}
</td>
</tr>
我要检查,如果当前日期是从2017年7月11日开始日期之间有效期至使用moment.js 2018年5月1日。 任何帮助?如何做到这一点? 我有下面的代码: import React, {Component} from 'react';
import moment from 'moment';
class Dates extends Component {
constructor(