RDFLib/rdflib — Issue #34: GMT dateTime literals don't compare correctly
Author: gjhiggins
Created: 2012-02-20 08:30:58+00:00
State: open

drewpca, 2008-12-26T22:23:24.000Z

>>> x = Literal("2008-12-01T18:02:00Z",
datatype=URIRef('http://www.w3.org/2001/XMLSchema#dateTime'))
>>> x == x
False

If Z is replaced with "-08:00", or the datatype is removed, then the
self-equality works again.

Comment 1 by eik...@gmail.com
Added a test case for this issue in r1469. This issue seems to be fixed in trunk.