mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Fixed midnight issues in ical, web calendar & event_table
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user