Skip to content
Snippets Groups Projects
Commit 271f1c1a authored by Carlos Vega's avatar Carlos Vega
Browse files

changed date format of the appointment shown in the daily planning. Removed seconds

parent 159aa27b
No related branches found
No related tags found
1 merge request!171Feature/daily availability
......@@ -248,7 +248,7 @@ def events(request, date):
'name': unicode(appointment_subject),
'id': appointment_subject.id,
'color': RANDOM_COLORS[i],
'start': appointment.datetime_when.replace(tzinfo=None).strftime("%H:%M:00"),
'start': appointment.datetime_when.replace(tzinfo=None).strftime("%H:%M"),
# this indicates only location of the first appointment
# (there is small chance to have two appointments in two different places at the same day)
'location': str(appointment.location),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment