[Rt-commit] rt branch, 4.2/relative-time-parsing-tests, updated. rt-4.0.6-336-ge171d62
Alex Vandiver
alexmv at bestpractical.com
Fri Dec 28 19:35:22 EST 2012
The branch, 4.2/relative-time-parsing-tests has been updated
via e171d62f8f4ec56121d66c9ed6ed0617ed118553 (commit)
from f244493bb1eb47c94a43004f9ae33d1e1f392d32 (commit)
Summary of changes:
t/api/date.t | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit e171d62f8f4ec56121d66c9ed6ed0617ed118553
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Fri Dec 28 19:34:37 2012 -0500
Remove extra "my"s
diff --git a/t/api/date.t b/t/api/date.t
index 0405b0f..bbba290 100644
--- a/t/api/date.t
+++ b/t/api/date.t
@@ -368,19 +368,19 @@ my $year = (localtime(time))[5] + 1900;
is($date->ISO, '2012-06-15 06:00:00', "YYYY-DD-MM hh:mm:ss");
set_fixed_time("2012-06-13T23:10:00Z"); # 13th in UTC and 14th in Moscow
- my $date = RT::Date->new( $current_user );
+ $date = RT::Date->new( $current_user );
$date->Set(Format => 'unknown', Value => 'tomorrow 10am');
is($date->ISO, '2012-06-15 06:00:00', "YYYY-DD-MM hh:mm:ss");
$current_user->UserObj->__Set( Field => 'Timezone', Value => 'US/Hawaii');
set_fixed_time("2012-06-14T20:10:00Z"); # 14th in UTC and Hawaii
- my $date = RT::Date->new( $current_user );
+ $date = RT::Date->new( $current_user );
$date->Set(Format => 'unknown', Value => 'tomorrow 10am');
is($date->ISO, '2012-06-15 20:00:00', "YYYY-DD-MM hh:mm:ss");
set_fixed_time("2012-06-15T05:10:00Z"); # 15th in UTC and 14th in Hawaii
- my $date = RT::Date->new( $current_user );
+ $date = RT::Date->new( $current_user );
$date->Set(Format => 'unknown', Value => 'tomorrow 10am');
is($date->ISO, '2012-06-15 20:00:00', "YYYY-DD-MM hh:mm:ss");
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list