How to enter time zone differences? #4980
|
I wanted to enter a flight that crosses a time zone though. The departure would be at 10:25 (GMT+2) and arrival at 11:25 (GMT+1). After arrival, I would change my time zone to GMT+1; that wouldn't mess up the flight afterwards, would it? |
Replies: 1 comment 1 reply
|
Short answer: yes, you are right, and no, changing your time zone afterwards won't break anything. Timestamps are stored in UTC. The time zone in your account settings is a pure display setting. So yes: enter 10:25 as departure and 12:25 as arrival. That gets stored as 08:25Z → 10:25Z and gives the correct 2 hour flight. If you entered 11:25, you'd end up with a 1 hour flight and correspondingly wrong duration and speed stats. |
Short answer: yes, you are right, and no, changing your time zone afterwards won't break anything.
Timestamps are stored in UTC. The time zone in your account settings is a pure display setting.
The manual trip creation form has no per-station time zone. It interprets every time you type in one single zone (Europe/Berlin in the current UI), so you have to convert the whole journey into that one zone yourself.
So yes: enter 10:25 as departure and 12:25 as arrival. That gets stored as 08:25Z → 10:25Z and gives the correct 2 hour flight. If you entered 11:25, you'd end up with a 1 hour flight and correspondingly wrong duration and speed stats.