Fixed calendar widget entries showin in wrong order

This commit is contained in:
Absurdon 2017-04-04 17:24:37 +02:00
parent 0c18e7f9ba
commit 4508e11270

View file

@ -36,7 +36,7 @@ class GoogleCalendar
list = result list = result
end end
} }
@events = (list) ? list.items : nil @events = (list) ? list.items.sort_by { |event| event.start.date_time } : nil
end end
def nsltv_regex def nsltv_regex