Multiple timezones

0 views
Skip to first unread message

Levi

unread,
Dec 22, 2009, 4:28:46 PM12/22/09
to Google Transit Trip Planner
How do I show multiple timezones correct for my feed? I have one stop
that is in Eastern and the rest are in central time. I am getting
conflicting responses from Google and this is the only thing holding
up my feed from being posted.

Jehiah

unread,
Dec 23, 2009, 3:59:40 PM12/23/09
to Google Transit Trip Planner
Hi Levi. This might be a better question for the transit-developers or
the gtfs-changes mailing list but i'll try to answer anyway

http://groups.google.com/group/transit-developers
http://groups.google.com/group/gtfs-changes

all time values for a feed should be specified in relation to the
timezone listed in agencies.txt

so, if you have an agency in timezone A, and a single stop in timezone
B, the stop times at that stop need to be converted to timezone A when
listed in your file. this way all the values in stop_times.txt are
listed in the same timezone (timezone A), and they increment as a trip
progresses.

there is also a proposal fror adding a stop_timezone to the stops.txt
file so that when a client application (ie: google transit) displays
values for that stop, they know to convert back from timezone A into
timezone B for that stop

even though this is a proposed addition to the spec, it sounds like
exactly what you need, and actually implementing it will help that
addition get accepted into the core specification.

http://groups.google.com/group/gtfs-changes/browse_thread/thread/2bb9026879bf10d9

--
Jehiah

Reply all
Reply to author
Forward
0 new messages