Skip to content

Commit

Permalink
use 24 hour time
Browse files Browse the repository at this point in the history
  • Loading branch information
codersquid committed May 9, 2014
1 parent d6cc05d commit 8e62ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symposion/schedule/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _get_start_end_times(self, data):
times = []
for x in [data[self.START_KEY], data[self.END_KEY]]:
try:
time_obj = time.strptime(x, '%I:%M %p')
time_obj = time.strptime(x, '%H:%M')
except:
return messages.ERROR, u'Malformed time found: %s.' % x
time_obj = datetime(100, 1, 1, time_obj.tm_hour, time_obj.tm_min, 00)
Expand Down

0 comments on commit 8e62ceb

Please sign in to comment.