[Bps-public-commit] RT-Extension-ActivityReports branch, include-time-in-default-end-date, created. 1.03-1-g6936689

Todd Wade todd at bestpractical.com
Tue Mar 4 12:22:01 EST 2014


The branch, include-time-in-default-end-date has been created
        at  69366894c0ef98b7ded2786cfaa4a915de51c388 (commit)

- Log -----------------------------------------------------------------
commit 69366894c0ef98b7ded2786cfaa4a915de51c388
Author: Todd Wade <todd at bestpractical.com>
Date:   Tue Mar 4 12:18:05 2014 -0500

    include time in default end date
    
    The date field that is queried is a DateTime field, so without this
    change the report is not inclusive of the end date. This change
    adds in the time in the end date so this is more obvious to the user
    that the time is needed to get the end date's tickets in the report.

diff --git a/html/Reports/Activity/index.html b/html/Reports/Activity/index.html
index d8b71cb..ecea9c9 100644
--- a/html/Reports/Activity/index.html
+++ b/html/Reports/Activity/index.html
@@ -30,7 +30,7 @@ unless ($ARGS{Start}) {
 unless ($ARGS{End}) {
     my $now = RT::Date->new($session{'CurrentUser'});
     $now->SetToNow();
-    $ARGS{End} = substr($now->ISO,0,10);
+    $ARGS{End} = $now->ISO;
 }
 
 $ARGS{show_print_link} = 0 unless $ReportType;

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



More information about the Bps-public-commit mailing list