Opened 10 years ago

Closed 10 years ago

#2610 closed enhancement (implemented)

no "end" date on the graph should mean "today"

Reported by: arma Owned by: karsten
Priority: Medium Milestone:
Component: Metrics/CollecTor Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


On the metrics graphs, when you can choose dates, if I choose a start date but no end date, it ignores my start date. It should instead fill in "today" for the end date.

(We might also want it to fill in "the beginning of my data set" for start date if an end date is specified but no start date, but that behavior is a bit more surprising, so I could go either way there.)

Child Tickets

Change History (1)

comment:1 Changed 10 years ago by karsten

Resolution: implemented
Status: newclosed

I implemented this as follows: If no end date is provided, we set it to today. If no start date is provided, we set it to 90 days before the end date.

Using "the beginning of my data set" for the start date would really be too confusing, because we don't insert that date if both fields are empty, either. Going with a 90 day interval seems to be the more natural choice here.

Closing as implemented.

Note: See TracTickets for help on using tickets.