Closed
Bug 324535
Opened 19 years ago
Closed 6 years ago
Allow the use of relative dates in charts
Categories
(bugzilla.mozilla.org :: General, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dfc, Assigned: kohei)
Details
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Relative dates do not work in charts. If you enter in the following values for the date: Range: "7d" to "Now" Bugzilla reports " '7d' is not a legal date." This is with Bugzilla Version 2.21.1 Reproducible: Always
Comment 1•18 years ago
|
||
It would be nice if somebody could confirm this on the current tip and track down the cause. dfc: I trust you mean that they don't work in fields where they normally work, for searches? Because we know that they don't work otherwise--they're a Search-specific feature. If you want the Charts to support relative dates everywhere, that would be an enhancement.
Keywords: qawanted
Version: unspecified → 2.21
Comment 2•18 years ago
|
||
Bugzilla::Chart::init() expects "absolute" dates: foreach my $date ('datefrom', 'dateto') { if ($self->{$date}) { $self->{$date} = str2time($self->{$date}) || ThrowUserError("illegal_date", { date => $self->{$date}}); } } So this bug is now a request to allow relative dates to be specified.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted
OS: Windows XP → All
Hardware: PC → All
Summary: Relative dates do not work with charts → Allow the use of relative dates in charts
Updated•16 years ago
|
Assignee: gerv → charting
Comment 3•6 years ago
|
||
I just tried to file this bug and it pointed me at this one. Wow, an 11 year old feature request. :-)
Comment 4•6 years ago
|
||
Grr, I hit Enter somewhere I shouldn't have and it submitted before I was ready. But yeah, my use case here is I want a chart that shows me the last 90 or 180 days of tracking on a set of queries, and want to be able to bookmark it to repeatly use it in the future without having to go adjust the dates every time.
Assignee | ||
Comment 5•6 years ago
|
||
Assignee: charting → kohei.yoshino
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•6 years ago
|
||
The PR goes to BMO first then shipping as part of Bugzilla 6.0.
Component: Reporting/Charting → General
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: 2.21 → Production
Assignee | ||
Comment 7•6 years ago
|
||
Merged to master.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•