Skip to content

Commit

Permalink
Merge pull request #1 from leetrout/patch-1
Browse files Browse the repository at this point in the history
Update select_time_widget.py
  • Loading branch information
sean-wallace committed Mar 1, 2012
2 parents d54f249 + fdd725d commit 452c05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion select_time_widget.py
Expand Up @@ -106,7 +106,7 @@ def render(self, name, value, attrs=None):
if self.twelve_hr and self.meridiem_val:
if self.meridiem_val.lower().startswith('p') and hour_val > 12 and hour_val < 24:
hour_val = hour_val % 12
elif hour_val == 0:
elif self.twelve_hr and hour_val == 0:
hour_val = 12

output = []
Expand Down

0 comments on commit 452c05a

Please sign in to comment.