DST not handled correctly

Bug #1194925 reported by Kasper Dupont
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
suds (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Kasper Dupont (ubuntu-launchpad-feb) wrote :
Revision history for this message
James Page (james-page) wrote :

Hi Kasper

As this is an older bug report (on 12.04) and suds has been updated to the 0.7 release I'm going to mark this bug as 'Invalid'; if you still see this issue with the latest suds package version in Ubuntu 17.10, please set back to new and confirm that this is still an issue.

Thanks!

Changed in suds (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.