Modify ↓
Opened 21 years ago
Closed 21 years ago
#270 closed defect (fixed)
All dates in American - need to use users locale
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 0.7 |
Component: | general | Version: | 0.6 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I think you are missing a call to:
locale.setlocale(locale.LC_ALL, )
otherwise python will use the "C" locale.
Attachments (0)
Change History (3)
comment:1 by , 21 years ago
Summary: | Add date in American - need to use users locale → All dates in American - need to use users locale |
---|
comment:2 by , 21 years ago
Milestone: | → 0.7 |
---|---|
Status: | new → assigned |
comment:3 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
fixed in [457]. This will make the timeline and some other places use the local time format. Some places will still use the generic time.asctime() format because I couldn't find any localized compact format to display a date and time. The closest I found was "%c". But that one was far too long.