Walgreens appointments in Illinois (suburban Chicago) showing as "Invalid DateTIme"
Closed this issue · 0 comments
jorupp commented
This morning, appointments appeared for Walgreens stores in suburban Chicago that showed as "Invalid DateTime" on the website. In the API, they looked like this:
"appointments": [
{
"time": "2021-03-27T09:30:00.000-05:00",
"type": null,
"vaccine_types": [],
"appointment_types": [
"all_doses"
]
},
I think the issue is that since there's no type
, this logic doesn't use the time
value and tries to parse the whole appointment as a date/time (which it isn't).
covid-vaccine-spotter/website/components/AppointmentTimes.vue
Lines 102 to 142 in b976faa