Closed Bug 66058 Opened 24 years ago Closed 24 years ago

"Changed" date should be more informative

Categories

(Bugzilla :: Bugzilla-General, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Bugzilla 2.12

People

(Reporter: bugzilla, Assigned: st.n)

Details

(Whiteboard: 2.12)

Attachments

(4 files)

If you're doing a Bug List the "Changed" field should be more informative.
What about the following:
If changed today: write the time (fx 12:24:34)
If changed this week: write short date plus short time (01/19 12:24)
If changed later than this week: write full date: 2001-01-19
Good idea! Taking bug.
Assignee: tara → st.n
Status: NEW → ASSIGNED
How about this minor change:

If changed within the last 18 hours: time only (12:24:34)
If changed within the last  6 days:  weekday and time (Fri 12:24)
If changed later: current behaviour (2001-01-19)
Cc'ing a few people to get comments.
I wouldn't want to put any effort in this to see it not being accepted later.
I like this idea.  That would be very helpful.
Okay, it wasn't as difficult as I thought, so here is the patch.
Additionally, the "date bug opened" is treated the same way, if that
column is active.

The second patch also removes trailing whitespace everywhere.  If you don't
like that, please check in the first patch.
Keywords: patch, review
Whiteboard: 2.12
r= dave@intrec.com

Works great on my install.
Attached is a second patch, inspired by a discussion with timeless on IRC.
Now it works this way:

If changed within the last 18 hours: time only (12:24:34)
If changed within the last   6 days: weekday and time (Fri 12:24)
If changed within the last 100 days: month and day (01-19)
If changed later: current behaviour (2001-01-19)
patch v2 is checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I hope this doesn't mess up sorting by date...
not at all.  This is all in the display code, not the calculation or DB storage.
Sorry for the spam, but I needed to be able to query for all of these correctly.
Target Milestone: --- → Bugzilla 2.12
VERIFIED. Very cool :-)

Gerv
Status: RESOLVED → VERIFIED
Moving closed bugs to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: