RDFLib/rdflib — Issue #143: Timestamps with microseconds *and* "Z" timezone are not parsed
Author: gjhiggins
Created: 2012-02-20 08:33:43+00:00
State: open

christop...@gmail.com, 2010-12-08T14:56:06.000Z

Here is a short fix for time stamps like "2010-12-08T15:40:59.265506Z" that include microseconds and a UTC timezone to be parsed by rdflib.

This builds on top of issue #46.
Ultimately the whole datetime parsing should probably be reworked using e.g. http://pypi.python.org/pypi/isodate/0.4.0 or http://pypi.python.org/pypi/iso8601/

Comment 1 by christop...@gmail.com
Adding a test case.

Comment 2 by christop...@gmail.com
Franz AllegroGraph seems to return a timezone 'Z' if no timezone is specified which triggers this bug.

See also #118 which deals with a similar problem with datetime objects.

Comment 3 by gromgull
This issue was closed by revision r1903.

Comment 4 by gromgull
This issue was closed by revision 7e13a5cf3827.