#8434 closed defect (worksforme)
Show useful dates
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | none |
| Severity: | normal | Keywords: | needinfo |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
If I look at the timeline, it shows the dates in approximate time such as "2 months ago".
This seems strange, as it obscures the information I really need and takes extra work to do. How do I disable this "feature"?
Attachments (0)
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
What cboos said. Also, I would characterize the approximate dates as "useful", so please be careful when using such subjective terms ;)
comment:3 by , 16 years ago
I am also looking to change this feature. I'm trying to generate printable reports for my boss. When the reports are printed everything looks great accept the "5 weeks ago" for a date. I should probably create a new ticket but I'd also like to be able to add the ticket change history and comments to a report.
comment:4 by , 16 years ago
| Keywords: | needinfo added |
|---|
comment:6 by , 16 years ago
Just hover over the date and you'll see the exact date as a tool tip. If you want to have it in the link text, too, put the following into your template ($TRACENV/templates/site.html):
<a py:match="a[@class='timeline']" py:attrs="select('@*')">
${select('.')} (${select('@title').render()[0:10]})
</a>
Note: This works only if you have a Genshi-based Trac (≥0.11).



The timeline doesn't show the approximate dates. In other places yes, but not in the Timeline. Care to provide a snapshot?