maproulette3 icon indicating copy to clipboard operation
maproulette3 copied to clipboard

Leaderboard widget custom dates using incorrect hour/min

Open nrotstan opened this issue 4 years ago • 0 comments

When using custom dates on the Leaderboard Widget (e.g. when managing a challenge), the frontend appears to be converting the current hour/minute to UTC for transmission to the server instead of converting local midnight.

For example, when at 10:22am PST I did a custom date range of March 2 - March 4, the frontend submitted to the server:

start: 2021-03-02T18:22:05.000Z
end: 2021-03-04T18:22:11.000Z
leaderboard_dates

nrotstan avatar Mar 05 '21 18:03 nrotstan