[freeside-commits] branch master updated. c917013f3e2232be3c3303e8cabef365096da979

Ivan ivan at 420.am
Tue Mar 19 15:15:15 PDT 2013


The branch, master has been updated
       via  c917013f3e2232be3c3303e8cabef365096da979 (commit)
      from  bc193b14d10f81548a659d52f68b58fa7599b646 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c917013f3e2232be3c3303e8cabef365096da979
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 19 15:15:14 2013 -0700

    fix report-cust_pay-select_time RT#21061 vs. daylight savings fixes RT#21879

diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index 2e6d482..7926808 100644
--- 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 );

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/UI/Web.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list