aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-03-08 16:36:42 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-03-08 16:36:45 +0000
commit36487240bae63833e7e82ac673be92eb9c033d4c (patch)
treee4ab262f345435b6b39747e3fba69c6d4ddbb45f
parent1cff2a0e83ffd55a511d0c4751df9613094aefbf (diff)
[Bromley] Reduce heatmap default time to one month
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm
index 950431e85..f6a7be837 100644
--- a/perllib/FixMyStreet/Cobrand/Bromley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bromley.pm
@@ -386,7 +386,7 @@ sub munge_load_and_group_problems {
}
# Date range
- my $start_default = DateTime->today(time_zone => FixMyStreet->time_zone || FixMyStreet->local_time_zone)->subtract(months => 3);
+ my $start_default = DateTime->today(time_zone => FixMyStreet->time_zone || FixMyStreet->local_time_zone)->subtract(months => 1);
$c->stash->{start_date} = $c->get_param('start_date') || $start_default->strftime('%Y-%m-%d');
$c->stash->{end_date} = $c->get_param('end_date');