Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75448

Re: converting ISO8601 date and time string representations to datetime

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: converting ISO8601 date and time string representations to datetime
Date 2014-07-31 19:30 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-7E7423.19300831072014@news.panix.com> (permalink)
References <mailman.12480.1406833307.18130.python-list@python.org>

Show all headers | View raw


In article <mailman.12480.1406833307.18130.python-list@python.org>,
 Albert-Jan Roskam <fomcl@yahoo.com> wrote:

> >In article <mailman.12461.1406797909.18130.python-list@python.org>,
> > Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> wrote:
> >
> >> Hi,
> >> I'm trying to convert ISO8601-compliant strings representing dates or 
> >> dates and times into datetime.datetime objects.
> >
> >https://pypi.python.org/pypi/iso8601
> 
> Yikes, what a regex. It must have been painstaking to get that right.
> https://bitbucket.org/micktwomey/pyiso8601/src/2bd28b5d6cd2481674a8b0c54a8bba6
> 4ab775f81/iso8601/iso8601.py?at=default

It is a thing of beauty.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: converting ISO8601 date and time string representations to datetime Albert-Jan Roskam <fomcl@yahoo.com> - 2014-07-31 11:59 -0700
  Re: converting ISO8601 date and time string representations to datetime Roy Smith <roy@panix.com> - 2014-07-31 19:30 -0400
    Re: converting ISO8601 date and time string representations to datetime Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2014-08-01 08:52 +0200
    Re: converting ISO8601 date and time string representations to datetime Akira Li <4kir4.1i@gmail.com> - 2014-08-02 06:53 +0400
    Re: converting ISO8601 date and time string representations to datetime Joel Goldstick <joel.goldstick@gmail.com> - 2014-08-06 14:31 -0400
    Re: converting ISO8601 date and time string representations to datetime Skip Montanaro <skip@pobox.com> - 2014-08-06 14:05 -0500
    Re: converting ISO8601 date and time string representations to datetime Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-11 23:57 +0100

csiph-web