summaryrefslogtreecommitdiff
path: root/httemplate/graph
diff options
context:
space:
mode:
authorC.J. Adams-Collier <cjac@colliertech.org>2014-09-03 15:24:58 -0700
committerC.J. Adams-Collier <cjac@colliertech.org>2014-09-03 15:26:03 -0700
commit5f5fbed30812124e5865c4aaf20c927f7d2d01bd (patch)
treea4ba08d09a545ccded871052dedf6c40db1ff164 /httemplate/graph
parent2f16e6d6e40950637f714d2fdebfd44db1cf8db7 (diff)
FS RT #884 code review recommendations per mwells
Diffstat (limited to 'httemplate/graph')
-rw-r--r--httemplate/graph/signupdate.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/httemplate/graph/signupdate.cgi b/httemplate/graph/signupdate.cgi
index 43deddc..23e4596 100644
--- a/httemplate/graph/signupdate.cgi
+++ b/httemplate/graph/signupdate.cgi
@@ -36,13 +36,11 @@ $where{'usernum'} = $usernum if $usernum;
my $sdate = DateTime->new(
year => $cgi->param('start_year'),
month => $cgi->param('start_month'),
- time_zone => 'America/Los_Angeles',
)->epoch();
my $edate = DateTime->new(
year => $cgi->param('end_year'),
- month => $cgi->param('end_month'),
- time_zone => 'America/Los_Angeles',
+ month => ($cgi->param('end_month') % 12 + 1) # first day of the next month
)->epoch();
my $where .= " AND signupdate >= $sdate ".