Edgewall Software
Modify

Opened 21 years ago

Closed 21 years ago

#270 closed defect (fixed)

All dates in American - need to use users locale

Reported by: barry.scott@… 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 anonymous, 21 years ago

Summary: Add date in American - need to use users localeAll dates in American - need to use users locale

comment:2 by Jonas Borgström, 21 years ago

Milestone: 0.7
Status: newassigned

comment:3 by Jonas Borgström, 21 years ago

Resolution: fixed
Status: assignedclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.