Fixed midnight issues in ical, web calendar & event_table

This commit is contained in:
David Taylor
2015-04-24 14:22:08 +01:00
parent b0d20081fa
commit 143f4ea454
4 changed files with 17 additions and 9 deletions

View File

@@ -302,10 +302,10 @@ class SecureAPIRequest(generic.View):
if item.start_time:
data['start_time'] = item.start_time.strftime('%H:%M:%SZ')
if item.end_date:
if item.has_end_date:
data['end_date'] = item.end_date.strftime('%Y-%m-%d')
if item.end_time:
if item.has_end_time:
data['end_time'] = item.end_time.strftime('%H:%M:%SZ')
if item.meet_at: