From 9f04faaa9094c454245d3264171b3758870c11cd Mon Sep 17 00:00:00 2001 From: Evelyn Date: Sun, 26 Mar 2017 14:13:50 +0100 Subject: [PATCH] NR: Turns out arrivals/departure doesn't actually respect UTC indication --- modules/nr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nr.py b/modules/nr.py index 91bf3f83..95fca02b 100644 --- a/modules/nr.py +++ b/modules/nr.py @@ -134,7 +134,7 @@ class Module(object): method = client.service.GetArrivalDepartureBoardByCRS if len(location_code) == 3 else client.service.GetArrivalDepartureBoardByTIPLOC try: - query = method(100, location_code, datetime.now().isoformat().split(".")[0] + "Z", filter["period"], + query = method(100, location_code, datetime.now().isoformat().split(".")[0], filter["period"], nr_filterlist, "to", '', "PBS", False) except WebFault as detail: if str(detail) == "Server raised fault: 'Invalid crs code supplied'":