[Rt-commit] [svn] r1298 - rt/branches/3.2-RELEASE/lib/RT

huberth at pallas.eruditorum.org huberth at pallas.eruditorum.org
Tue Aug 3 10:02:16 EDT 2004


Author: huberth
Date: Tue Aug  3 10:02:14 2004
New Revision: 1298

Modified:
   rt/branches/3.2-RELEASE/lib/RT/Date.pm
Log:
RT-Ticket: 5927
RT-Status: resolved

 * Due dates in the past no longer look like they're in the future,
   i.e. "6 days ago".


Modified: rt/branches/3.2-RELEASE/lib/RT/Date.pm
==============================================================================
--- rt/branches/3.2-RELEASE/lib/RT/Date.pm	(original)
+++ rt/branches/3.2-RELEASE/lib/RT/Date.pm	Tue Aug  3 10:02:14 2004
@@ -352,7 +352,8 @@
         $s         = int( $duration / $YEAR );
         $time_unit = $self->loc("years");
     }
-    if (0) { # For now, never display the "AGO" # $negative) {
+
+    if ($negative) {
         return $self->loc( "[_1] [_2] ago", $s, $time_unit );
     }
     else {


More information about the Rt-commit mailing list