"Z" in dateformat does not work for negative utc offsets
|Reported by:||Paul Lanier||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The timedelta object never returns seconds as negative. To calculate the offset in seconds you must also take the days member into account since days can be negative.