[Bps-public-commit] r11606 - RT-Extension-Reports/html/Reports/Types
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sun Apr 6 22:51:53 EDT 2008
Author: sunnavy
Date: Sun Apr 6 22:51:52 2008
New Revision: 11606
Modified:
RT-Extension-Reports/html/Reports/Types/ActiveOrInactive
RT-Extension-Reports/html/Reports/Types/CreatedOrResolved
RT-Extension-Reports/html/Reports/Types/General
Log:
make the default reports date is yesterday
Modified: RT-Extension-Reports/html/Reports/Types/ActiveOrInactive
==============================================================================
--- RT-Extension-Reports/html/Reports/Types/ActiveOrInactive (original)
+++ RT-Extension-Reports/html/Reports/Types/ActiveOrInactive Sun Apr 6 22:51:52 2008
@@ -212,8 +212,8 @@
else {
my $today = RT::Date->new($session{CurrentUser});
$today->SetToNow;
- $EndDate ||= $today->Date;
$today->AddDays( -1 );
+ $EndDate ||= $today->Date;
$StartDate ||= $today->Date;
}
Modified: RT-Extension-Reports/html/Reports/Types/CreatedOrResolved
==============================================================================
--- RT-Extension-Reports/html/Reports/Types/CreatedOrResolved (original)
+++ RT-Extension-Reports/html/Reports/Types/CreatedOrResolved Sun Apr 6 22:51:52 2008
@@ -205,8 +205,8 @@
else {
my $today = RT::Date->new($session{CurrentUser});
$today->SetToNow;
+ $today->AddDays( -1 );
$EndDate ||= $today->Date;
- $today->AddDays( -7 );
$StartDate ||= $today->Date;
}
Modified: RT-Extension-Reports/html/Reports/Types/General
==============================================================================
--- RT-Extension-Reports/html/Reports/Types/General (original)
+++ RT-Extension-Reports/html/Reports/Types/General Sun Apr 6 22:51:52 2008
@@ -175,8 +175,8 @@
else {
my $today = RT::Date->new($session{CurrentUser});
$today->SetToNow;
+ $today->AddDays( -1 );
$EndDate ||= $today->Date;
- $today->AddDays( -7 );
$StartDate ||= $today->Date;
}
More information about the Bps-public-commit
mailing list