-
Committer:
James Henstridge
-
Date:
2007-01-01 21:36:31 UTC
-
mto:
(2221.1.1 jam-integration)
-
mto:
This revision was merged to the branch mainline in
revision
2222.
-
Revision ID:
james@jamesh.id.au-20070101213631-kq9gl0ltvmpm12y0
Don't rely on time.timezone and time.altzone in local_time_offset(),
since they may not be accurate or applicable to the given timestamp (see
bug 77588).
Instead, use the datetime module to find the difference between the
local time representation and UTC time representation of the timestamp.