help parsing this

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • a

    #1

    help parsing this

    mx.DateTime.Ran geError 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
    DateTimeFromStr ing, line 608

    how to parse this date
    thanks

  • Richard Brodie

    #2
    Re: help parsing this


    "a" <a@tempinbox.co mwrote in message
    news:1155557530 .383959.241150@ 75g2000cwc.goog legroups.com...
    mx.DateTime.Ran geError 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
    DateTimeFromStr ing, line 608
    >
    how to parse this date
    thanks
    There isn't a 31st of April.


    Comment

    • Fredrik Lundh

      #3
      Re: help parsing this

      "a" wrote:
      mx.DateTime.Ran geError 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
      DateTimeFromStr ing, line 608
      >
      how to parse this date
      parse it into what? there is no such thing as "April 31st".

      </F>



      Comment

      • Tim Chase

        #4
        Re: help parsing this

        >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



        Comment

        • Steve Holden

          #5
          Re: help parsing this

          a wrote:
          mx.DateTime.Ran geError 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
          DateTimeFromStr ing, 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

          Comment

          • Paul McGuire

            #6
            Re: help parsing this

            "a" <a@tempinbox.co mwrote in message
            news:1155557530 .383959.241150@ 75g2000cwc.goog legroups.com...
            mx.DateTime.Ran geError 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
            DateTimeFromStr ing, line 608
            >
            how to parse this date
            thanks
            >
            Looks like it was parsed properly. What do you suppose that silly
            mx.DateTime.Ran geError exception was all about?

            -- Paul


            Comment

            Working...