relative Dates since 0.11

1 view
Skip to first unread message

thomas peter

unread,
Feb 10, 2009, 5:12:52 AM2/10/09
to Trac Users
Hi,

I recently upgraded from the fantastic 0.10 to even more fantastic
0.11 (workflow & svn-blame rocks so much) and now all points in time
are displayed as relative time (e.g. "Changed 18 hours ago") and not
timestamp. The absolute time is displayed in a on-mouse-over field.

Is there a way to display the absolute timestamps like in 0.10 instead
of the relative time period?

Thank you in advance
Thomas

Noah Kantrowitz

unread,
Feb 11, 2009, 2:34:45 AM2/11/09
to trac-...@googlegroups.com

No, not without hacking the template a good bit or some very tricky
match blocks.

--Noah

thomas peter

unread,
Feb 14, 2009, 2:49:32 PM2/14/09
to Trac Users
ok, thanks. I'll create a ticket as feature request

Christian Unger

unread,
Feb 15, 2009, 11:10:48 AM2/15/09
to trac-...@googlegroups.com
we had the same problem and just altered web_ui.py to return iso_date only.
not so elegant but effective.

/trac/timeline/web_ui.py:

274c274
< return tag.a(iso_date, class_='timeline',
---

return tag.a(label or iso_date, class_='timeline',


cu
christian unger



Reply all
Reply to author
Forward
0 new messages