RDFLib/rdflib — Issue #150: Datetime timezone fix in Issue 157 is wrong
Author: gjhiggins
Created: 2012-02-20 08:33:54+00:00
State: open

christop...@gmail.com, 2011-03-19T18:27:06.000Z

The fix applied by Issue 157 is wrong. To calculate the datetime object for UTC (timezone Z) the given timezone offset needs to be substracted from the value, not added as in the fix.

It needs to be checked though if UTC time should be returned or just the local time (ignoring the offset)

Comment 1 by gromgull
Excellent ping-time here ... I do not understand what exactly is wrong or need to be fixed?

You mean that the logic here: http://code.google.com/p/rdflib/source/browse/rdflib/term.py#890

should be reversed?