Modify ↓
Ticket #270 (closed defect: fixed)
Opened 8 years ago
Last modified 8 years ago
All dates in American - need to use users locale
| Reported by: | barry.scott@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.7 |
| Component: | general | Version: | 0.6 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
I think you are missing a call to:
locale.setlocale(locale.LC_ALL, )
otherwise python will use the "C" locale.
Attachments
Change History
comment:1 Changed 8 years ago by anonymous
- Summary changed from Add date in American - need to use users locale to All dates in American - need to use users locale
comment:2 Changed 8 years ago by jonas
- Milestone set to 0.7
- Status changed from new to assigned
comment:3 Changed 8 years ago by jonas
- Resolution set to fixed
- Status changed from assigned to 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.