gjhiggins/rdflib — Issue #35: GMT dateTime literals don't compare correctly
Author: gjhiggins
Created: 2011-10-19 01:01:12+00:00
State: open

Originally filed by drewpca on 2008-12-26T22:23:24

>>> 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.