clicrdv: use %Hh%M format (#1777)
This commit is contained in:
parent
b5b83dcdab
commit
b8bf8d7a56
|
@ -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
|
||||
|
|
Reference in New Issue