Added fundamentals for v2 rule set intro.
This commit is contained in:
@@ -34,7 +34,7 @@ export function ReportingDatesMolecule({ queryReportingData }) {
|
||||
rules={[{ type: "array", required: true }]}
|
||||
>
|
||||
<DatePicker.RangePicker
|
||||
format="YYYY-MM-DD"
|
||||
format="MM/DD/YYYY"
|
||||
ranges={{
|
||||
Today: [moment(), moment()],
|
||||
"Last 14 days": [moment().subtract(14, "days"), moment()],
|
||||
@@ -45,6 +45,7 @@ export function ReportingDatesMolecule({ queryReportingData }) {
|
||||
moment().startOf("month").subtract(1, "month"),
|
||||
moment().startOf("month").subtract(1, "month").endOf("month"),
|
||||
],
|
||||
|
||||
"This Month": [
|
||||
moment().startOf("month"),
|
||||
moment().endOf("month"),
|
||||
@@ -64,6 +65,10 @@ export function ReportingDatesMolecule({ queryReportingData }) {
|
||||
.add(1, "quarter")
|
||||
.subtract(1, "day"),
|
||||
],
|
||||
"Last 3 Months": [
|
||||
moment().startOf("month").subtract(3, "month"),
|
||||
moment().startOf("month").subtract(1, "month").endOf("month"),
|
||||
],
|
||||
}}
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
Reference in New Issue
Block a user