Skip to content

Commit

Permalink
Modified to work in different time zones
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcameron authored and jniles committed Dec 27, 2023
1 parent bb4a6ed commit 23ff772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/stock/rumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ describe('test/integration/stock Stock Depot RUMER data REST API', () => {
.get(`/stock/rumer`)
.query({
depot_uuid : depotUuid,
start_date : startDate,
end_date : endDate,
start_date : `${startDate}T00:00:00`, // Forces treating it as local time, not UTC
end_date : `${endDate}T00:00:00`, // Forces treating it as local time, not UTC
})
.then((res) => {
const data = res.body;
Expand Down

0 comments on commit 23ff772

Please sign in to comment.