Permalink
Browse files

Update select_time_widget.py

  • Loading branch information...
1 parent d54f249 commit fdd725db26aa1c42a467ef938fe4a1a1d5f82a38 @leetrout leetrout committed Mar 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 select_time_widget.py
@@ -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 = []

0 comments on commit fdd725d

Please sign in to comment.