food-rescue-robot
food-rescue-robot copied to clipboard
"Add to Google Calendar" button uses wrong times
Expected Behavior
On a shift page, I expect the "Add to Google Calendar" button to create a calendar event at the time of the start of the pickup window.
Actual Behavior
The "Add to Google Calendar" button opens Google Calendar with many fields filled out with useful information, but the times are wrong. In the page linked below, the shift's pickup time is between 4:30PM and 6:00PM, but the calendar even is scheduled for 10:30AM to 12:00PM
I don't know if this problem is specific to that shift, or a general issue.
Steps to Recreate
- Go to this shift page: https://robot.boulderfoodrescue.org/schedule_chains/776
- Observe the pickup time.
- Click on the "Add to Google Calendar" button.
- Observe the pre-set calendar event times.
Environment
Chrome on Linux, but I don't think that matters.