Skip to content

Commit

Permalink
atch another weird date thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
breyten committed Jun 21, 2024
1 parent e2127cf commit f040482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocd_backend/extractors/ibabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def run(self):
report_dict['datum'] = None

# datum can sometimes be 'V' -- unsure what it means
if report_dict['datum'] and isinstance(report_dict['datum'], str) and (report_dict['datum'] not in ['B', 'G', 'V', 'R']) and not start_date < iso8601.parse_date(report_dict['datum']).replace(tzinfo=None) < end_date:
if report_dict['datum'] and isinstance(report_dict['datum'], str) and (report_dict['datum'] not in ['B', 'G', 'V', 'R', 'C']) and not start_date < iso8601.parse_date(report_dict['datum']).replace(tzinfo=None) < end_date:
# Skip report if date is outside date interval
continue

Expand Down

0 comments on commit f040482

Please sign in to comment.