vasile / data.gov.ro-gtfs-exporter

Ruby utility that converts public transport data from data.gov.ro into GTFS
MIT License
32 stars 7 forks source link

Fix stop times incorrect format #2

Closed alibitek closed 8 years ago

alibitek commented 8 years ago

As mentioned in issue #1 , the correct format for the time is eight digits , as per the GTFS specification documentation available at https://developers.google.com/transit/gtfs/reference#stop_timestxt

Times must be eight digits in HH:MM:SS format (H:MM:SS is also accepted, if the hour begins with 0). 
Do not pad times with spaces.   

The following columns list stop times for a trip and the proper way to express those times in the arrival_time field:
Time    arrival_time value
08:10:00 A.M.   08:10:00 or 8:10:00
01:05:00 P.M.   13:05:00
07:40:00 P.M.   19:40:00
01:55:00 A.M.   25:55:00
vasile commented 8 years ago

Thanks @mbutaru for reporting and @mnemonicflow for the quick fix, it looks good! Can you remoe the .gitignore from the PR, I want to keep it clean, I will remove also my .DS_Store entry and let it platform-agnostic

alibitek commented 8 years ago

Done