Councilmatic code has many places where it needs to compare dates and datetimes.
For good reasons, the opencivicdata models store dates and datetimes as strings. Currently, we deal with this by extensively using annotations to cast to real datetimes.
We should just do this casting one on saving or updating the Councilmatic models in the signal handler.
Councilmatic code has many places where it needs to compare dates and datetimes.
For good reasons, the opencivicdata models store dates and datetimes as strings. Currently, we deal with this by extensively using annotations to cast to real datetimes.
We should just do this casting one on saving or updating the Councilmatic models in the signal handler.