Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #10811 (closed defect: fixed)

Opened 2 years ago

Last modified 12 months ago

In trac, the dates should be in the ISO8601 format

Reported by: vinc17@… Owned by: kvv@…
Priority: Normal Milestone:
Component: server/hosting Version:
Keywords: Cc: vinc17@…, ryandesign@…
Port:

Description

In trac, the dates are currently in the American format, with a 2-digit year, which makes them very ambiguous (e.g. 04/05/06). They should be in the ISO8601 format (like in Bugzilla).

Change History

Changed 2 years ago by kvv@…

  • status changed from new to assigned

Changed 2 years ago by css@…

It seems that that can be changed by setting the appropriate PythonOption. See http://trac-hacks.org/ticket/317 for an example of changing the date format.

Changed 2 years ago by vinc17@…

But the problem is to have the right locale installed. Moreover, ro_RO is probably not a good idea if one wants to avoid strings in Romanian. Under Linux, I'm using en_DK. Unfortunately it is not available under Mac OS X (in case the web server is hosted on a Mac OS X machine).

Changed 16 months ago by nox@…

  • priority changed from Expected to Normal

Changed 15 months ago by ryandesign@…

  • cc ryandesign@… added

I too would like this. Unfortunately Trac (still!) does not support this. See this issue and this issue which superseded it. There are some patches in those issues, though, which may be sufficient.

Changed 15 months ago by vinc17@…

http://dev.mutt.org/trac/report has ISO-8601 dates. But perhaps it uses a patched version.

Changed 12 months ago by wsiegrist@…

  • status changed from assigned to closed
  • resolution set to fixed

I changed the default formats to be non-locale based and force the YYYY-MM-DD HH:MM:SS format. This will of course need to be rehacked every Trac update until there are nice trac.ini options (scheduled for 0.11 and/or 0.12 it seems).

Note: See TracTickets for help on using tickets.