help parsing this

A

a

mx.DateTime.RangeError at /podcasts
Failed to parse "31 Apr 2006 20:19:00 -0400": day out of range: 31
Python /usr/lib/python2.4/site-packages/mx/DateTime/Parser.py in
DateTimeFromString, line 608

how to parse this date
thanks
 
R

Richard Brodie

a said:
mx.DateTime.RangeError at /podcasts
Failed to parse "31 Apr 2006 20:19:00 -0400": day out of range: 31
Python /usr/lib/python2.4/site-packages/mx/DateTime/Parser.py in
DateTimeFromString, line 608

how to parse this date
thanks

There isn't a 31st of April.
 
F

Fredrik Lundh

a said:
mx.DateTime.RangeError at /podcasts
Failed to parse "31 Apr 2006 20:19:00 -0400": day out of range: 31
Python /usr/lib/python2.4/site-packages/mx/DateTime/Parser.py in
DateTimeFromString, line 608

how to parse this date

parse it into what? there is no such thing as "April 31st".

</F>
 
T

Tim Chase

how to parse this date
parse it into what? there is no such thing as "April 31st".

I think somebody's chain is getting pulled...thus the right thing
to do is to wrap around and return "April 1st" ;-)

-Loof Lirpa
 
S

Steve Holden

a said:
mx.DateTime.RangeError at /podcasts
Failed to parse "31 Apr 2006 20:19:00 -0400": day out of range: 31
Python /usr/lib/python2.4/site-packages/mx/DateTime/Parser.py in
DateTimeFromString, line 608

how to parse this date
thanks
"""
30 days hath September
APRIL, June and November
All the rest have 31
Excepting February alone
That has 29 days clear
And 29 in each leap year
"""

regards
Steve
 
P

Paul McGuire

a said:
mx.DateTime.RangeError at /podcasts
Failed to parse "31 Apr 2006 20:19:00 -0400": day out of range: 31
Python /usr/lib/python2.4/site-packages/mx/DateTime/Parser.py in
DateTimeFromString, line 608

how to parse this date
thanks

Looks like it was parsed properly. What do you suppose that silly
mx.DateTime.RangeError exception was all about?

-- Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top