forked from gergely/calendar-social
[Code Cleanup] Wrap some long lines
This commit is contained in:
parent
5f5ccaa1ea
commit
5300e4978e
@ -154,8 +154,10 @@ class GregorianCalendar(CalendarSystem):
|
||||
start_timestamp = date.replace(hour=0, minute=0, second=0, microsecond=0)
|
||||
end_timestamp = start_timestamp + timedelta(days=1)
|
||||
|
||||
events = events.filter(((Event.start_time >= start_timestamp) & (Event.start_time < end_timestamp)) |
|
||||
((Event.end_time >= start_timestamp) & (Event.end_time < end_timestamp))) \
|
||||
events = events.filter(((Event.start_time >= start_timestamp) &
|
||||
(Event.start_time < end_timestamp)) |
|
||||
((Event.end_time >= start_timestamp) &
|
||||
(Event.end_time < end_timestamp))) \
|
||||
.order_by('start_time', 'end_time')
|
||||
|
||||
return events
|
||||
|
Loading…
Reference in New Issue
Block a user