Skip to content

Commit

Permalink
CA: check for actual 'to' instead of splitting 'October'
Browse files Browse the repository at this point in the history
  • Loading branch information
NewAgeAirbender committed Aug 30, 2024
1 parent c184bd1 commit 1eb9fe4
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 1eb9fe4

Please sign in to comment.