Public bug reported:

suds.sax.date.Timezone uses time.timezone as the offset from UTC.
However documentation of time.timezone states:

The offset of the local (non-DST) timezone, in seconds west of UTC
(negative in most of Western Europe, positive in the US, zero in the
UK).

So using time.timezone that way only works half the year. The result is
that when a datetime is used in a SOAP call, the value in the request
contains the correctly formatted local time followed by an incorrect
specification of which time zone was used. For example 2013-06-26
16:05:58.887627 CEST was rendered in the SOAP request as
2013-06-26T16:05:58.887627+01:00, which is incorrect as CEST is +02:00.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-suds 0.4.1-2ubuntu1 [modified: 
usr/share/pyshared/suds/bindings/binding.py usr/share/pyshared/suds/sax/text.py]
ProcVersionSignature: Ubuntu 3.2.0-48.74-generic 3.2.46
Uname: Linux 3.2.0-48-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: i386
Date: Wed Jun 26 17:26:42 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: suds
UpgradeStatus: Upgraded to precise on 2012-05-08 (413 days ago)

** Affects: suds (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1194925

Title:
  DST not handled correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/suds/+bug/1194925/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to