Skip to content

Commit

Permalink
UTC-4 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
thdfw committed Oct 16, 2024
1 parent 0bcc800 commit ddcfa58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@
event.preventDefault();
const startdate = document.getElementById('startDatePicker').value;
const starttime = document.getElementById('startTimePicker').value;
const startDateObject = new Date(`${startdate}T${starttime}-05:00`);
const startDateObject = new Date(`${startdate}T${starttime}-04:00`);
const startUnixMilliseconds = startDateObject.getTime();

const enddate = document.getElementById('endDatePicker').value;
const endtime = document.getElementById('endTimePicker').value;
const enddateObject = new Date(`${enddate}T${endtime}-05:00`);
const enddateObject = new Date(`${enddate}T${endtime}-04:00`);
const endUnixMilliseconds = enddateObject.getTime();

fetchPlots(house_alias, password, startUnixMilliseconds, endUnixMilliseconds)
Expand Down

0 comments on commit ddcfa58

Please sign in to comment.