Quoting Cooke, Mark mark.co...@siemens.com:
Have a look at:- http://trac.edgewall.org/ticket/5813 (for tickets)
Many thanks, this is indeed a similar issue.
This ended as a `wontfix` but has a snippet of template
customisation that might work with the revision log (just guessing)...
Unfortunately, it's not possible to handle this with a template
customisation, if I understand the code correctly. One has to
change timeline/web_ui.py instead:
--- web_ui.py.orig 2012-01-20 13:29:33.0 +0100
+++ web_ui.py 2012-01-20 13:25:14.0 +0100
@@ -241,7 +241,7 @@
if data:
def dateinfo(date):
return self.get_timeline_link(req, date,
- pretty_timedelta(date),
+ format_datetime(date),
precision='second')
data['dateinfo'] = dateinfo
return template, data, content_type
The good news is, that the all the absolute vs relative date
and ISO vs whatever format wars are over with Trac 0.13. The
ticket you mentioned contains a link to:
http://trac.edgewall.org/demo-0.13/prefs/datetime
Bad news for me: I'm in the process of switching to 0.12 soon.
Cheers
--
You received this message because you are subscribed to the Google Groups Trac
Users group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.