food-rescue-robot icon indicating copy to clipboard operation
food-rescue-robot copied to clipboard

"Add to Google Calendar" button uses wrong times

Open SebKuzminsky opened this issue 6 years ago • 12 comments

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

  1. Go to this shift page: https://robot.boulderfoodrescue.org/schedule_chains/776
  2. Observe the pickup time.
  3. Click on the "Add to Google Calendar" button.
  4. Observe the pre-set calendar event times.

Environment

Chrome on Linux, but I don't think that matters.

SebKuzminsky avatar Jul 11 '18 17:07 SebKuzminsky