aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-07-07 20:52:57 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-07-07 21:00:11 +0100
commitb18385fa66e3a0f617872729ccc9bd4f7b2573a9 (patch)
tree2fed5a2aa075fcaebfc0dd42bf4ec55d96142fa5 /perllib/FixMyStreet.pm
parent172d3697b791f647354daeb76bb31785394c8b7b (diff)
[fixmystreet.com] Fix /reports displaying months.
Month strings weren't escaped in data label, and would never match database data (using month number). Also issues displaying current day/month in graph.
Diffstat (limited to 'perllib/FixMyStreet.pm')
-rw-r--r--perllib/FixMyStreet.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet.pm b/perllib/FixMyStreet.pm
index 47267a13a..b3d963074 100644
--- a/perllib/FixMyStreet.pm
+++ b/perllib/FixMyStreet.pm
@@ -177,6 +177,7 @@ sub set_time_zone {
my $tz_f = time_zone();
$dt->set_time_zone($tz);
$dt->set_time_zone($tz_f) if $tz_f;
+ return $dt;
}
# Development functions