Closed chadbrower0 closed 1 year ago
Great catch Chad!
I'm going to merge this.
There's one more thing with dates that I think might help:
The client might be in quite a different local time zone than the time zone the server is using for dates. It would be nice to have the server tell the client which time zone the dates are in (via /application), and then have the prettyDate function translate the given date from the server time zone into the local time zone.
Javascript Date-object day-of-month is 1-based, does not need to add 1, per https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDate