DateTime object with timezone GMT+XX.XX
Bug #143070 reported by
Amit Khan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DateTime |
Invalid
|
Medium
|
Unassigned |
Bug Description
DateTime() returns a wrong DateTime object when local time zone offset from GMT is not an integer. Like for a local time zone GMT+05.30, DateTime() object is returning an DateTime object where time zone offset is set to GMT+5 - this is resulting 30 minutes of difference when we are translating the current time to some other time zope.
It seems the problem is in constructor (init() method) of DateTime class.
The problem remains in 2.5+ versions as well like 2.6, 2.7 etc.
Best Regards
Amit
affects: | zope2 → datetime |
To post a comment you must log in.
Changes: submitter email, importance (critical => medium)