Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update select_time_widget.py

  • Loading branch information...
commit fdd725db26aa1c42a467ef938fe4a1a1d5f82a38 1 parent d54f249
Lee Trout leetrout authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  select_time_widget.py
2  select_time_widget.py
View
@@ -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 = []
Please sign in to comment.
Something went wrong with that request. Please try again.