Changeset 450
- Timestamp:
- 22-05-11 12:58:36 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
morituri/result/logger.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r449 r450 1 2011-05-22 Thomas Vander Stichele <thomas at apestaart dot org> 2 3 * morituri/result/logger.py: 4 Always write strftime in C locale. Fixes second bug 5 mentioned in #49. 6 1 7 2011-05-21 Thomas Vander Stichele <thomas at apestaart dot org> 2 8 -
trunk/morituri/result/logger.py
r284 r450 40 40 41 41 lines.append("Logfile created by: morituri %s" % configure.version) 42 # FIXME: when we localize this, see #49 to handle unicode properly. 43 import locale 44 old = locale.getlocale(locale.LC_TIME) 45 locale.setlocale(locale.LC_TIME, 'C') 42 46 date = time.strftime("%b %d %H:%M:%S", time.localtime(epoch)) 47 locale.setlocale(locale.LC_TIME, old) 43 48 lines.append("Logfile created on: %s" % date) 44 49 lines.append("")
Note: See TracChangeset
for help on using the changeset viewer.
