[Rt-commit] r15507 - rt/3.8/trunk/lib/RT
clkao at bestpractical.com
clkao at bestpractical.com
Wed Aug 27 01:14:57 EDT 2008
Author: clkao
Date: Wed Aug 27 01:14:55 2008
New Revision: 15507
Modified:
rt/3.8/trunk/lib/RT/Date.pm
Log:
correct loc for RT::Date's weekday and month. The . postfix
is no longer in any extracted string.
Modified: rt/3.8/trunk/lib/RT/Date.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Date.pm (original)
+++ rt/3.8/trunk/lib/RT/Date.pm Wed Aug 27 01:14:55 2008
@@ -404,7 +404,8 @@
my $self = shift;
my $dow = shift;
- return $self->loc("$DAYS_OF_WEEK[$dow].") if $DAYS_OF_WEEK[$dow];
+ return $self->loc($DAYS_OF_WEEK[$dow])
+ if $DAYS_OF_WEEK[$dow];
return '';
}
@@ -419,7 +420,8 @@
my $self = shift;
my $mon = shift;
- return $self->loc("$MONTHS[$mon].") if $MONTHS[$mon];
+ return $self->loc($MONTHS[$mon])
+ if $MONTHS[$mon];
return '';
}
More information about the Rt-commit
mailing list