Closed bcho892 closed 4 months ago
Visit the preview URL for this PR (updated for commit ec380ae):
https://uasc-ceebc--pr446-445-frontend-normali-ohkqydee.web.app
(expires Sat, 22 Jun 2024 22:33:07 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: 36296ceaed1d43e92e7d5e81a72a7bd987560bfa
The problem before is the different timezones on the frontend return different dates from the date inputs. The fix here is to use
getDay
on the front end (to display the appropriate data to the user) and backend but on the back end need to re-parse the date to its timezone to account for differences.