#5813 closed enhancement (duplicate)
make it easy to replace relative created date with absolute one
Reported by: | rjbs | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I don't want to have to hover to see the actual date/time that a ticket was created. Please provide a simple way to replace that text with the actual creation date. (If relative date becomes the tooltip, that's fine. I won't care, because I won't hover!)
Attachments (0)
Change History (14)
comment:1 by , 17 years ago
follow-up: 14 comment:2 by , 17 years ago
In general, I find the colloquial date is much quicker to parse. Only this way can you immediately see if it's a matter of years, months or days. This is especially true when you have lots of dates like in the Change History or revision logs.
For the specific case of the ticket creation date however, it might indeed be useful to see the exact creation time at the first glance. This is however a trivial change to make in the local template, so I don't think it's worth making a configuration switch for this.
example customization:
-
ticket.html
132 132 <div id="ticket" py:if="ticket.exists or preview_mode" 133 133 class="${preview_mode and 'ticketdraft' or None}"> 134 134 <div class="date"> 135 <p py:if="ticket.exists">Opened ${dateinfo(ticket.time_created)} ago</p>135 <p py:if="ticket.exists">Opened <b>${format_datetime(ticket.time_created)}</b> (${dateinfo(ticket.time_created)} ago)</p> 136 136 <p py:if="ticket.time_changed != ticket.time_created">Last modified ${dateinfo(ticket.time_changed)} ago</p> 137 137 <p py:if="not ticket.exists"><i>(future ticket)</i></p> 138 138 </div>
Proposing a wontfix, unless there's tremendeous support for the above change (those who have already voted for this can't vote again ;-) )
comment:3 by , 17 years ago
+1 on wontfix. Not hard to make a plugin for this though (which would make it user-selectable, which I like better).
comment:5 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
3 months and no further replies - seems like the wontfix
-ers have it.
comment:7 by , 15 years ago
It would be nice to have the options for exact dates in the ticket history and the reports (created & modified fields).
comment:8 by , 14 years ago
I would like exact dates please. And So do all my team - I have now ended up putting custom fields in so they can add the date manually.
comment:9 by , 13 years ago
It would be better to have ISO 8601 dates as default and the prosaic date as option. My colleagues and I prefer absolute dates.
comment:10 by , 13 years ago
Resolution: | wontfix → worksforme |
---|
Note that it's now a user preference in 0.13 (try it there demo-0.13/prefs/datetime, change to absolute date format, then visit demo-0.13/log/trunk).
follow-up: 12 comment:11 by , 13 years ago
(IIRC, that was done by jomae part of the extensive #2182 changes)
comment:12 by , 13 years ago
comment:13 by , 13 years ago
Resolution: | worksforme → duplicate |
---|
#9777 rather - closing as duplicate would be more correct.
comment:14 by , 13 years ago
Replying to cboos:
example customization:
There is a problem with this approach. Having both the absolute date and the prosaic form together is too long for my taste. The absolute date, however, does not contain the link to the timeline. Instead, one has to change timeline/web_ui.py:
-
web_ui.py
old new 241 241 if data: 242 242 def dateinfo(date): 243 243 return self.get_timeline_link(req, date, 244 pretty_timedelta(date),244 format_datetime(date), 245 245 precision='second') 246 246 data['dateinfo'] = dateinfo 247 247 return template, data, content_type
In the template, one still has to delete the obsolete "ago".
I very much agree with this request. Sometimes one needs to know the exact date stamp of a ticket. The colloquial date reference is nice, but the exact date stamp is necessary. Maybe we could just have them both.