Skip to content

Commit

Permalink
CA: Localizes action dates (was already being done with vote dates).
Browse files Browse the repository at this point in the history
  • Loading branch information
twneale committed Jul 24, 2014
1 parent 25a66a1 commit 924ffde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openstates/ca/bills.py
Expand Up @@ -500,7 +500,9 @@ def replacer(matchobj):
if legislators:
kwargs['legislators'] = legislators

date = action.action_date.date()
date = action.action_date
date = self._tz.localize(date)
date = date.date()
if (actor, act_str, date) in seen_actions:
continue
fsbill.add_action(actor, act_str, date, **kwargs)
Expand Down

0 comments on commit 924ffde

Please sign in to comment.