Changeset 2658

Show
Ignore:
Timestamp:
05/07/2008 01:59:00 PM (7 months ago)
Author:
Shadowhand
Message:

Removed "ago" from the end of the string returned by date::timespan_string, fixes #596.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/helpers/date.php

    r2657 r2658  
    386386 
    387387                        // Replace difference by making the span into a string 
    388                         $difference = trim(implode('', $span), ',').' ago'; 
     388                        $difference = trim(implode('', $span), ','); 
    389389                } 
    390390