On Wednesday, March 1, 2017 12:26:58 PM CET, mikeness wrote:
> A related problem in the use of time zones, which may well be
> increased by the use of UTC, is whether days and dates of
> operation should be based on the local time at the start of the
> journey or based on the agency time zone at the start of the
> journey.
>
> As an example a train leaves Paris at 00:30 local time on
> Monday 27 February.
A trip always leaves on the scheduled operating day. Which is Monday 27
February, but in train operation it is even common that any trip before 4
am is part of the previous operating day, where Sunday 26 February is valid
to in my opinion.
The timing in UTC therefore remains correct to adding 'seconds' to the
original departure and compensating for the timezone at the end of the
proces.
> Adjustment of days and dates of operation can be avoided by
> defining agency time zone to be the eastmost time zone covered
> by the timetable. This avoids creating negative times and only
> need adding time for further west time zones which is allowed
> for in GTFS as time may go beyond 24:00:00. eg A Eurostar
> service leaving London at 23:30 on Sunday 26 February would be
> coded with agency time zone of Europe/Paris, calendar.txt
> showing a Sunday service on 26 February and stop_times showing
> 24:30:00 departure. The London stop would have a stop_timezone
> of Europe/London.
The above gives a statement that it should - in this specific case - be the
London timezone. (not UTC) But is a workaround for a problem, not a
recommendation to solve the general case. What is the logic that Russian
Railways should be in CET/CEST because one of their trains departs from
Europe? CET/CEST is not a "standard".
> I have not started to think how to code Trans Pacific journeys
> crossing the International Date Line in GTFS.
UTC + Noons always works.
--
Stefan