On 10/16/07, <b class="gmail_sendername">Bjorn Bringert</b> <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Should we just add XX:XX as an alternative time zone offset format<br>accepted by %z and %Z? Is this a standard format?</blockquote><div><br>I'm not sure, but I am getting this date from Google in their XML feeds representing calendar data. The specific element is "gd:when", documented here:
<br><br><a href="http://code.google.com/apis/gdata/elements.html#gdWhen">http://code.google.com/apis/gdata/elements.html#gdWhen</a><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hmm, ok, parsedate allows garbage at the end. I wonder what is the<br>right thing to do here.</blockquote><div><br>A wildcard that allowed me to say "don't care" would work. If parseDate was built on regular expressions, then you could do whatever you wanted. I'm not familiar with the C roots of this function, though, so maybe it's best to do whatever it does.
<br><br>Regardless, I'm glad to have something. I can always filter/chop the string to remove the bits I don't care about. It's a good library.<br><br>Justin</div></div>