Resolve more Phone Lib issues.

This commit is contained in:
Patrick Fic
2021-07-30 10:23:57 -07:00
parent d8e8a8e4e9
commit d3c8b5d731
8 changed files with 47 additions and 7 deletions

View File

@@ -61,8 +61,12 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
{
name: values.key,
variables: {
...(start ? { start: moment(start).format("YYYY-MM-DD") } : {}),
...(end ? { end: moment(end).format("YYYY-MM-DD") } : {}),
...(start
? { start: moment(start).startOf("day").format("YYYY-MM-DD") }
: {}),
...(end
? { end: moment(end).endOf("day").format("YYYY-MM-DD") }
: {}),
...(id ? { id: id } : {}),
},
},