Edgewall Software

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9516 closed defect (duplicate)

datetime format is incorrect regarding users locale

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version: 0.12
Severity: normal Keywords: i18n date format
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


date and datetime formatting (and therefore date_hint and datetime_hint) is not respecting user's locale.

For example if I edit a milestone with a German language preference then it will show following hint:

Format: MM/DD/YY

but it should be

Format: DD.MM.YYYY

Also when formatting dates in roadmap it will be displayed as 07/30/10 instead of 30.07.2010.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 10 years ago

Resolution: duplicate
Status: newclosed

See #2182, which has a patch (well, a git fork). It would be nice if you could test it and report if the proposed solution would work for you.

comment:2 by anonymous, 10 years ago

Thanks for the immediate reply. To be honest, I don't know how to do merging my trac-source with this git-fork (haven't done anything yet with git!). It is good to see, that it'll work at this issue.

Is there a how-to for merging and (re-)building trac with some forks?

in reply to:  2 comment:3 by Christian Boos, 10 years ago

Is there a how-to for merging and (re-)building trac with some forks?

It's the same procedure as for installing from source (see e.g. TracDownload#Installingversionsfromcheckouts). Here, you simply get the source either by doing git clone <git-repository-url> or from the .tar.gz or the .zip you'd get from the "Download Source" button - see http://github.com/jun66j5/trac/tree/t2182-i18n-datetime).

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.