summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/lib
diff options
context:
space:
mode:
authorEd Morley <emorley@mozilla.com>2014-09-29 23:26:32 +0200
committerDylan William Hardison <dylan@hardison.net>2014-09-29 23:26:32 +0200
commit180e229a39ac402223146034d129018a552e3f9b (patch)
tree4746368ac0ecaddbcc8aee9ec8e184e72c1ca5d0 /extensions/BMO/lib
parent2e8ebd18fc8bb91e5ea7c7765b5574ab60375434 (diff)
downloadbugzilla-180e229a39ac402223146034d129018a552e3f9b.tar.gz
bugzilla-180e229a39ac402223146034d129018a552e3f9b.tar.xz
Bug 1072944 - User activity should default to a range smaller than the last 8 weeks
r=dylan
Diffstat (limited to 'extensions/BMO/lib')
-rw-r--r--extensions/BMO/lib/Reports/UserActivity.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BMO/lib/Reports/UserActivity.pm b/extensions/BMO/lib/Reports/UserActivity.pm
index a961096a6..3a485a1f2 100644
--- a/extensions/BMO/lib/Reports/UserActivity.pm
+++ b/extensions/BMO/lib/Reports/UserActivity.pm
@@ -30,7 +30,7 @@ sub report {
$to =~ s/\N{U+2011}/-/g;
if ($from eq '') {
- my $dt = DateTime->now()->subtract('weeks' => 8);
+ my $dt = DateTime->now()->subtract('weeks' => 1);
$from = $dt->ymd('-');
}
if ($to eq '') {