smurfy / fahrplan

QT Application for Public transportation
GNU General Public License v2.0
58 stars 32 forks source link

Bug with Departuretime #51

Closed drlub1tch closed 11 years ago

drlub1tch commented 11 years ago

Hey, at first i have to say i love this app! Still the best Timetableapp for Germany. But in my actual Version (2.0.12 for N8 Symbian Belle) there´s a bug with the departuretime. If i choose "Actual Departures" at 1 pm. the list of connections starts at 2 pm. In fact the results start 1 hour later than i searched. The same if i search for connections with a later starttime.

Maybe its an error with summer- and wintertime?

Thanks for searching the Bug and sorry for my horrible Englishskills. ;)

smurfy commented 11 years ago

Hm i dont have the problem on my N9 (meego) device. i will check in a symbian emulator later today. Does this happen with all from/to stations or just some? Also i guess you have german locale on your phone.

about english, i'm german too, but this is an international app, so i prefer using english :D

leppa commented 11 years ago

Just to clarify: by "Actual Departures" do you mean "Departure: Now" ("Aktuelle Abfahrten") checkbox set? Does the same issue happen when you set the time explicitly?

drlub1tch commented 11 years ago

Yes. It happens in both cases. And it happen with all stations. (I tried 25 random stations.) And what i found out today: It only happens if i choose "bahn.de" as source. (öbb.at and sbb.ch works correct)

leppa commented 11 years ago

I remember there was a bug with setting time on Symbian: for example, when you selected 14:30 in the time picker, it displayed 15:30 (or 13:30, not sure exactly) as selected time. Not sure under which conditions exactly it was happening but I didn't pay much attention to it 'cause at some point it disappeared by itself.

Does the "Time" ("Uhrzeit") field display the same time you set in time picker or is it offset by one hour too?

I just checked with Nokia 603 which has Belle Feature Pack 2 (with German language and time zone set) - can't reproduce the bug. Will find C7 which should have older Symbian version and check with it.

leppa commented 11 years ago

It only happens if i choose "bahn.de" as source. (öbb.at and sbb.ch works correct)

Sorry, didn't read your message thoroughly enough. If it works with other backends then, most probably, it's something to do with the backend or how the time is passed to/parsed from bahn.de.

drlub1tch commented 11 years ago

"I remember there was a bug with setting time on Symbian: for example, when you selected 14:30 in the time picker, it displayed 15:30 (or 13:30, not sure exactly) as selected time."

Exactly. If i choose 14.30 it shows 15:30.

leppa commented 11 years ago

I quickly tested on C7-00 with Belle yesterday and the bug is there.

If it happens on Bele but not on Belle FP2 than it might be a bug with Qt Components - not much we can do except coming up with some workaround. I'll try to take a deeper look this weekend.

smurfy commented 11 years ago

Thank you