Skip to content

Commit

Permalink
Merge pull request #5019 from NewAgeAirbender/ca_bills
Browse files Browse the repository at this point in the history
CA: check for actual 'to' instead of splitting 'October'
  • Loading branch information
NewAgeAirbender authored Aug 30, 2024
2 parents c184bd1 + 1eb9fe4 commit 774a53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/ca/events_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def scrape_lower(self):
" ".join([hearing_date, hearing_time])
.split("or")[0]
.split("and")[0]
.split("to")[0]
.split(" to ")[0]
.strip()
)
when = dateutil.parser.parse(when)
Expand Down

0 comments on commit 774a53a

Please sign in to comment.