[Rt-commit] r5155 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Wed May 3 17:55:02 EDT 2006
Author: ruz
Date: Wed May 3 17:55:01 2006
New Revision: 5155
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap
Log:
r2814 at cubic-pc: cubic | 2006-05-04 01:01:04 +0400
* use new interface
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap Wed May 3 17:55:01 2006
@@ -241,7 +241,7 @@
attribute => 'Due',
value => sub {
my $date = $_[0]->DueObj;
- if ($date && $date->Unix > 0 && $date->Unix < time()) {
+ if ( $date && $date->Unix > 0 && $date->Diff < 0 ) {
return (\'<span class="overdue">' , $date->AgeAsString , \'</span>');
} else {
return $date->AgeAsString;
More information about the Rt-commit
mailing list