Re: help parsing this

2006-08-14 Thread Paul McGuire
"a" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: help parsing this

2006-08-14 Thread Steve Holden
a wrote:
> 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
-- 
Steve Holden   +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd  http://www.holdenweb.com
Skype: holdenweb   http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: help parsing this

2006-08-14 Thread 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



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: help parsing this

2006-08-14 Thread Fredrik Lundh
"a" wrote:
> 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".

 



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: help parsing this

2006-08-14 Thread Richard Brodie

"a" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> 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. 


-- 
http://mail.python.org/mailman/listinfo/python-list


help parsing this

2006-08-14 Thread 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

-- 
http://mail.python.org/mailman/listinfo/python-list