Closed aleksa-krolls closed 4 years ago
@taylordowns2000 We need to return date in the format '2020-01-01 00:00:00'
, so please add the timestamp to what we have here.
FYI - For now we will keep the date filters as is pending further discussion & testing.
@aleksa-krolls , see this above (last) commit. can you confirm that this filter should be submitted in UTC time?
@taylordowns2000 Yes, that works
https://github.com/OpenFn/unicef-cambodia/blob/91c0b7e27addca4639b37b2380ee032514149989/jobs/f2-j1-getOscarCases.js#L25
In GET request to Oscar,
state.lastQueryDate
returns this value1587772527000
instead of '2020-01-01' (YYYY-MM-DD). Causes error.