IO-1358 IO-1372 Add Timestamp to report center.

This commit is contained in:
Patrick Fic
2021-09-20 16:53:51 -07:00
parent afa8e04008
commit 4bdc02d22c

View File

@@ -82,6 +82,9 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
...(end ...(end
? { end: moment(end).endOf("day").format("YYYY-MM-DD") } ? { end: moment(end).endOf("day").format("YYYY-MM-DD") }
: {}), : {}),
...(start ? { starttz: moment(start).startOf("day") } : {}),
...(end ? { endtz: moment(end).endOf("day") } : {}),
...(id ? { id: id } : {}), ...(id ? { id: id } : {}),
}, },
}, },
@@ -253,7 +256,7 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
]} ]}
> >
<DatePicker.RangePicker <DatePicker.RangePicker
format="YYYY-MM-DD" format="MM/DD/YYYY"
ranges={DatePIckerRanges} ranges={DatePIckerRanges}
/> />
</Form.Item> </Form.Item>