NR: Clocks go back tonight. Make UTC explicit in nrtrains call

This commit is contained in:
Evelyn 2017-03-25 18:21:39 +00:00
parent 710699175b
commit 67d7a20c5c

View file

@ -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], filter["period"],
query = method(100, location_code, datetime.now().isoformat().split(".")[0] + "Z", filter["period"],
nr_filterlist, "to", '', "PBS", False)
except WebFault as detail:
if str(detail) == "Server raised fault: 'Invalid crs code supplied'":