buses.py

changeset 77
83cd29dee853
parent 75
4f8a67d5d79e
child 80
0773b4e5fd10
--- a/buses.py	Thu Dec 07 16:55:44 2017 +0200
+++ b/buses.py	Mon Dec 11 12:55:00 2017 +0200
@@ -118,6 +118,8 @@
 					if stop_time + timedelta(minutes = 1) >= now():
 						# lisää halt listaan.
 						result.append({
+							'date': date,
+							'offset': stop.departure_time,
 							'time': stop_time,
 							'trip': trip,
 							'stop': stop,

mercurial