Modify

Opened 5 years ago

Last modified 3 months ago

#5248 new enhancement

[Patch]: Display "Due in n days" or "N days old" for each milestone in the list

Reported by: scratcher Owned by: rjollos
Priority: normal Component: PlannedMilestonesMacro
Severity: trivial Keywords:
Cc: Trac Release: 0.11

Description

Display number of days until (or after milestone) for each item in the list. The list contains only the milestones with date set.

Attachments (2)

planned_m.png (2.5 KB) - added by scratcher 5 years ago.
PlannedMilestones.py (1.0 KB) - added by scratcher 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by scratcher

Changed 5 years ago by scratcher

comment:1 Changed 5 years ago by anonymous

  • Cc rjollos added

comment:2 Changed 5 years ago by rjollos

  • Cc rjollos removed
  • Summary changed from Enchancement: display "Due in n days" or "N days old" for each milestone in the list to [Patch]: Display "Due in n days" or "N days old" for each milestone in the list

comment:3 Changed 5 years ago by rjollos

  • Owner changed from jornh to rjollos

comment:4 follow-up: Changed 5 years ago by AdrianFritz

Suggestion: enforce ISO-8601 date format like YYYY-MM-DD

comment:5 in reply to: ↑ 4 Changed 5 years ago by rjollos

Replying to AdrianFritz:

Suggestion: enforce ISO-8601 date format like YYYY-MM-DD

I believe that this is already implemented, though the example on the wiki page needs to be updated.

I'm using the latest version of the macro on my Trac instance and the milestones are listed like this:

  • 2010-02-17 - M1 - I2 - Implement procedures and policies for working with source code
  • 2010-02-17 - M1 - I2 - Prototype performance and feature enhancements
  • 2010-02-17 - M1 - I2 - Spectral Doppler performance optimization
  • 2010-03-03 - M1 - I3 - Implement procedures and policies for the issue tracker

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.