[Fedora-suds-list] Timezone-aware Datetime objects

Daniel Rodriguez danjrod at gmail.com
Mon Mar 29 07:52:26 UTC 2010


Hi Jeff et al,

I was wondering what you and others think about always returning
timezone-aware datetime objects. The default timezone would be UTC (GMT).

If the user of the library knows that the default timezone for an object is
not UTC he can then use "replace" to change the timezone without changing
the fields.

I personally would see it as positive, since I find terrible to rebuild a
datetime object just to make the conversion from naive to timezone-aware.

Best regards

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20100329/bf145f21/attachment.html 


More information about the suds mailing list