event._end_time check in serialize_all_day of EventSerializer
nathgrin opened this issue · comments
Spitler commented
def serialize_all_day(event, container):
if event.begin and event.all_day:
...
if event._end_time:
...
but ._end_time is not set because its an all_day event
changing to if event.end worked for me
edit: nvm it didnt work, related to off-by-one issues for all_day events iguess
Niko Fink commented
Spitler commented
thanks!