Skip to content

agency.txt says timezone is "America/Tijuana" - should it be "America/Los_Angeles" instead? #7

@michaelkirk

Description

@michaelkirk

I understand the two timezones are equivalent (as far as I know), but it seems like Whatcom is inconsistent with other agencies in the state.

Some other feeds from Washington state:

Sound Transit's consolidated feeds seems to use all America/Los_Angeles:

agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email
1,Metro Transit,http://metro.kingcounty.gov,America/Los_Angeles,EN,206-553-3000,http://metro.kingcounty.gov/tops/bus/fare/fare-info.html#fare_matrix,
19,Intercity Transit,https://www.intercitytransit.com/,America/Los_Angeles,en,360-786-1881,https://www.intercitytransit.com/vanpool/pay,support@availtec.com
23,City of Seattle,https://www.seattle.gov/transportation/getting-around/transit/streetcar,America/Los_Angeles,EN,206-684-7623,https://www.seattle.gov/transportation/getting-around/transit/streetcar/fares-and-orca-card,
29,Community Transit,http://www.communitytransit.org/,America/Los_Angeles,en,(800) 562-1375,https://www.communitytransit.org/fares/fares-and-passes,riders@commtrans.org
3,Pierce Transit,http://www.piercetransit.org,America/Los_Angeles,EN,(253)581-8000,,
40,Sound Transit,https://www.soundtransit.org,America/Los_Angeles,en,1-888-889-6368,https://www.soundtransit.org/ride-with-us/how-to-pay/fares,main@soundtransit.org
95,Washington State Ferries,https://www.wsdot.wa.gov/ferries/,America/Los_Angeles,en,1 (888) 808-7977,https://wave2go.wsdot.com/webstore/landingPage?cg=21&c=76,
96,SeattleCenterMonorail,http://www.seattlemonorail.com,America/Los_Angeles,EN,2069052620,,
97,Everett Transit,http://www.everetttransit.org/,America/Los_Angeles,en,,http://www.everetttransit.org/,
98,Seattle Children's Hospital,https://www.luum.com/commute/content/shuttles,America/Los_Angeles,en,,,

Island Transit doesn't have the field:

agency_id,agency_url,agency_lang,agency_name,agency_phone,agency_timezone,agency_fare_url,tts_agency_name
2271,https://www.islandtransit.org/,en,Island Transit,(360) 678-7771,America/Los_Angeles,,

Whatcom county specifies America/Tijuana:

agency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url
14,Whatcom Transportation Authority,http://www.ridewta.com,America/Tijuana,en,1-866-989-4287,http://www.ridewta.com/fares-passes/fares

I noticed this while importing Whatcom's GTFS feed alongside these others into OpenTripPlanner for https://maps.earth. The error occurs upon encountering multiple different time zones. I can work around this, but I wanted to let you know in case it was simply oversight.

This is the error I encountered in OTP in case anyone is interested:
+otp-build *failed* | 23:25:50.062 ERROR (OTPMain.java:58) An uncaught error occurred inside OTP: The graph contains agencies with different time zones: [America/Los_Angeles, America/Tijuana]. Please configure the one to be used in the build-config.json
+otp-build *failed* | java.lang.IllegalStateException: The graph contains agencies with different time zones: [America/Los_Angeles, America/Tijuana]. Please configure the one to be used in the build-config.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions