Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GMT dateTime literals don't compare correctly #34

Closed
ghost opened this issue Feb 20, 2012 · 0 comments
Closed

GMT dateTime literals don't compare correctly #34

ghost opened this issue Feb 20, 2012 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 20, 2012

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.
@ghost ghost closed this as completed Feb 20, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants