clicrdv: use %Hh%M format (#1777)

This commit is contained in:
Thomas NOËL 2012-10-16 14:50:33 +02:00
parent b5b83dcdab
commit b8bf8d7a56
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ def get_available_times(intervention, date):
for timeslot in timeslots:
parsed = time.strptime(timeslot, '%Y-%m-%d %H:%M:%S')
time_tuple = (time.strftime('%H:%M:%S', parsed),
time.strftime('%H:%M', parsed))
time.strftime('%Hh%M', parsed))
times.append(time_tuple)
times.sort()
return times