diff --git a/src/dlhdhr/epg/zap2it.py b/src/dlhdhr/epg/zap2it.py index 0e27ada..ac3a6e9 100644 --- a/src/dlhdhr/epg/zap2it.py +++ b/src/dlhdhr/epg/zap2it.py @@ -106,7 +106,7 @@ class Zap2it: ) ) - listings[call_sign] = sorted(programs, key=lambda p: p.start_time, reverse=True) + listings[call_sign] = sorted(programs, key=lambda p: p.start_time) return listings diff --git a/src/dlhdhr/epg/zaptv.py b/src/dlhdhr/epg/zaptv.py index 0847459..7141c6d 100644 --- a/src/dlhdhr/epg/zaptv.py +++ b/src/dlhdhr/epg/zaptv.py @@ -96,7 +96,7 @@ class ZapTV: ) ) - listings[code] = sorted(programs, key=lambda p: p.start_time, reverse=True) + listings[code] = sorted(programs, key=lambda p: p.start_time) return listings