DateTime uses GMT rather than local time zone
Bug #583324 reported by
Dieter Maurer
This bug report is a duplicate of:
Bug #143784: DateTime doesn't parse all ISO8601-valid strings.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DateTime |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I understand the "DateTime" documentation as follows: if it gets a single string argument without time zope specification, it creates a "DateTime" in the local time zone. However:
>>> import DateTime
>>> DateTime.__file__
'/home/
>>> DateTime.
'GMT+0'
>>> DateTime.
'GMT+2'
Formerly (at least in the "DateTime" version that came with Zope 2.8), "DateTime(
affects: | acquisition → datetime |
Changed in datetime: | |
status: | New → Confirmed |
To post a comment you must log in.