Karl Forner wrote:
Ok I figured out that I was using %G (The year corresponding to the ISO week
number) instead of %Y.
But I still thinks this is weird that the format instance is not able to
parse what it just has formatted.
Glad you worked it out.
I haven't looked, and can't be certain, but I'm guessing %G got added to
DateTime's strftime function after I created strptime.
While I can add support for %G, it's a bit of a PITA and I doubt it's
ever actually needed. %Y is the correct symbol for the format you're using.
Cheers!
Rick Measham
--
Message protected for iSite by MailGuard: e-mail anti-virus, anti-spam and
content filtering.
http://www.mailguard.com.au