Opened 12 years ago
Closed 11 years ago
#26502 closed enhancement (fixed)
Dashboard Activity dates conditionally need the year
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | 3.8 |
| Component: | Administration | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
If you import the Theme Unit Test data, one of the posts is scheduled for Jan 1st 2050. The Dashboard Activity widget doesn't indicate what year this is scheduled for though, and leaves the date as ambiguous - I suspect most people would assume it would be in a few weeks time, given no other information. The same would apply if the Recent Activity doesn't have a limit on it, where the last post was more than a year ago.
Since these might be moving towards edge cases compared to activity on a lot of sites, I'd like to see a year included only if the timestamp is more than 1 year before or after the current date (rather than on each date).
Screenshots included for clarification.
Attachments (5)
Change History (12)
@
12 years ago
Suggestion - include years where timestamp is more than 1 year before or after the current time.
#2
@
12 years ago
Probably the most logical thing to do is to display the year if the post date's year is not the same as the current year.
#3
@
12 years ago
Two suggestions offered:
- 26502.diff goes with a difference in the timestamp of more than one year, as per original ticket description.
- 26502-alt.diff goes with johnbillion's (probably more sensible) suggestion of showing the year if it's not the same as the current one.
#4
@
12 years ago
- Keywords has-patch 3.9-early added
- Milestone changed from Awaiting Review to Future Release
#5
@
11 years ago
- Keywords 3.9-early removed
- Owner set to chriscct7
- Status changed from new to assigned
Trunk - years not shown on dashboard activity widget.