feed_info.txt date format specification

31 views
Skip to first unread message

pelletie...@gmail.com

unread,
Apr 17, 2013, 3:03:08 PM4/17/13
to googletran...@googlegroups.com
I noticed something stranfe in the GTF Specs page. Under feed_info.txt the date format for fields "feed_start_date" and "feed_end_date" is:

Both days are given as dates in YYYYDDMM format as for calendar.txt

The wording (perhaps not 100% English) seems to indicate that dates are to be in the same format as calendar.txt. However, the description in calendar.txt is:

The start_date field's value should be in YYYYMMDD format.

The end_date field's value should be in YYYYMMDD format.


So, which is it? YYYYMMDD or YYYYDDMM?

Thanks. 

Brian Ferris

unread,
Apr 17, 2013, 5:20:41 PM4/17/13
to googletran...@googlegroups.com
Huh... that's a good catch.  I think it's supposed to be YYYYMMDD, just like in calendar.txt.  That's how I've always parsed it.  I'll see if we can get that fixed.

Brian


--
You received this message because you are subscribed to the Google Groups "GoogleTransitDataFeed" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googletransitdat...@googlegroups.com.
To post to this group, send email to googletran...@googlegroups.com.
Visit this group at http://groups.google.com/group/googletransitdatafeed?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Martin Pelletier

unread,
Apr 19, 2013, 11:52:38 AM4/19/13
to googletran...@googlegroups.com
Thank you. I look forward to it.

Brian Ferris

unread,
Apr 25, 2013, 6:12:55 AM4/25/13
to googletran...@googlegroups.com
Ok, this has been fixed in the spec.  Thanks for the heads up!



On Fri, Apr 19, 2013 at 5:52 PM, Martin Pelletier <pelletie...@gmail.com> wrote:
Thank you. I look forward to it.
Reply all
Reply to author
Forward
0 new messages