You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.
Adapting the code to be used on my OTP instance, I started to port it to OTP 0.18 (alongside with adding specific things for my OTP instance, see here: kalon33@2491d08 )
Unfortunately, I'm stuck on a batch of errors that prevent the interface of returning a proper itinerary, see below:
Adapting the code to be used on my OTP instance, I started to port it to OTP 0.18 (alongside with adding specific things for my OTP instance, see here: kalon33@2491d08 )
Unfortunately, I'm stuck on a batch of errors that prevent the interface of returning a proper itinerary, see below:
SyntaxError: 08 is not a legal ECMA-262 octal constant plan.js:374:44
unreachable code after return statement plan.js:1259:4
Object { _isAMomentObject: true, _i: undefined, _f: undefined, _l: undefined, _strict: undefined, _isUTC: false, _pf: Object, _d: Date 2015-10-07T11:04:34.210Z } plan.js:1206:7
13:04 plan.js:1212:1
11:00 am plan.js:1206:7
11:00 plan.js:1212:1
"Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to moment/moment#1407 for more info." moment.js:6:432
48.84836765 plan.js:1163:1
Place de la Nation, 12e Arrondissement (urbain), Picpus, 12t... plan.js:125:3
48.7005628 plan.js:1176:1
Chilly-Mazarin, Rue du Chemin de Fer, Les Quatre Fourchettes... plan.js:125:3
Array [ "Invalid date" ] plan.js:698:4
undefined plan.js:700:1
"http://paris.acolytesanonymes.org/otp/routers/paris/plan?fromPlace=48.84836765%2C2.39591795029338&fromName=Place+de+la+Nation%2C+12e+Arrondissement+(urbain)%2C+Picpus%2C+12th+Arrondissement%2C+Paris%2C+Ile-de-France%2C+Metropolitan+France%2C+75012&toPlace=48.7005628%2C2.308248&toName=Chilly-Mazarin%2C+Rue+du+Chemin+de+Fer%2C+Les+Quatre+Fourchettes%2C+Chilly-Mazarin%2C+Palaiseau%2C+Essonne%2C+Ile-de-France%2C+Metropolitan+France%2C+91380&mode=TRANSIT%2CWALK&time=11%3A00+am&date=Invalid+date&arriveBy=false" plan.js:1030:3
unreachable code after return statement plan.js:1259:4
SyntaxError: missing ; before statement
If you want to test, you can see here: http://mobileotp2.acolytesanonymes.org/
Your interface is very nice and convenient for a multiplatform/device format use, that's why I want to debug it :)
I've also problems with date setting, and couldn't port it to a european "hh:mm" (24h) and "dd-mm-yyyy". Could you help me with that?
The text was updated successfully, but these errors were encountered: