gjhiggins/rdflib — Issue #159: Datetime timezone fix in Issue 157 is wrong
Author: gjhiggins
Created: 2011-10-19 01:32:54+00:00
State: open

Originally filed by christop...@gmail.com on 2011-03-19T18:27:06

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)