Project

General

Profile

Bug #2152

Python date handling is locale specific

Added by Dave Vieglais almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
d1_common_python
Start date:
2011-12-29
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

Timezone information should be explicitly included with datetime object creation, otherwise values will use the timezone of the system on which the interpreter is running.

e.g. test_010(self) in test_utils.py will fail if not run in Mount Time zone.

Create a UTC class derived from TZInfo, add to utils.py. Use the UTC class when creating dates.

History

#1 Updated by Roger Dahl almost 13 years ago

  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)