| Issue 1380: | comments should display time along with date | |
| Back to list |
Affected Version: 2.2.2 Comments for a change display only the date of the comment if it is older than a day. For comments which were added a few days back, it becomes impossible to find the time difference between actions. This is especially useful for information on time taken by an engineer to mark the change as verified or time taken by +2CR reviewer after +1CR was given. The time-stamp is already stored in the DB. Displaying it on screen helps.
May 9, 2012
#1
prav...@nvidia.com
May 9, 2012
(No comment was entered for this change.)
Status:
Accepted
Owner: sop@google.com
May 11, 2012
I made this change and verified it. It's a small change in FormatUtil.shortFormat()
from
return sDate.format(dt);
to
final StringBuilder b = new StringBuilder();
b.append(sDate.format(dt));
b.append(", ");
b.append(sTime.format(dt));
return b.toString();
where sDate and sTime are set to user preferences.
I will upload it for review.
Thanks
Jan 5, 2013
(No comment was entered for this change.)
Status:
Released
Labels: FixedIn-2.5 |
|
| ► Sign in to add a comment |