char *validFormt = "20111641 34:73:00";

This is the 34th hour and 73rd minute of the 41st day of the 16th month of 2011.

curl_getdate(validFormt, NULL) does not fail to parse the string and returns 
1273662780.

Is that the way it should work?

I mean, is it up to the user to pre-parse the string and assure that all the 
digits are within the proper range?

I'm on libcurl/7.19.7 GnuTLS/2.8.5 zlib/1.2.3.3 libidn/1.15

Thank you!
                                          
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to