[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 12486600a342b8c8e8e670fedc075b064faa90cd

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


The branch, FREESIDE_2_3_BRANCH has been updated
       via  12486600a342b8c8e8e670fedc075b064faa90cd (commit)
      from  ec265ee1a8291de05de6eb22b81cc575bcf36676 (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 12486600a342b8c8e8e670fedc075b064faa90cd
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 19 15:15:16 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 451c18e..22b4456 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