projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bc193b1
)
fix report-cust_pay-select_time RT#21061 vs. daylight savings fixes RT#21879
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 19 Mar 2013 22:15:14 +0000
(15:15 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 19 Mar 2013 22:15:14 +0000
(15:15 -0700)
FS/FS/UI/Web.pm
patch
|
blob
|
history
diff --git
a/FS/FS/UI/Web.pm
b/FS/FS/UI/Web.pm
index
2e6d482
..
7926808
100644
(file)
--- a/
FS/FS/UI/Web.pm
+++ b/
FS/FS/UI/Web.pm
@@
-40,7
+40,8
@@
sub parse_beginning_ending {
if ( $cgi->param($prefix.'end') =~ /^(\d+)$/ ) {
$ending = $1 - 1;
} elsif ( $cgi->param($prefix.'ending') =~ /^([ 0-9\-\/\:]{1,64})$/ ) {
- $ending = day_end( parse_datetime($1) );
+ $ending = parse_datetime($1);
+ $ending = day_end($ending) unless $ending =~ /:/;
}
( $beginning, $ending );