[rt-devel] In Date.pm why is $negative off?

Matt Simonsen matt_lists at careercast.com
Wed May 7 14:16:54 EDT 2003


I have had complains that Listing.html shows only "1 day" for both
yesterday and tomorrow, "1 year" for both 2002 and 2004, etc. 

When I went to change this behavior, in Date.pm I found a disabled
section of code that does exactly what I was going to setup. It simply
adds "ago" if $negative is set (Around line 333). The comment was "for
now, never display the 'ago'". Is this broken? If not, I'm curious why
it's off.

I find this better than the default behavior, thus I turned it on and it
seems to work well. Please let me know if there's a reason this is off
in case I haven't thought of something.

Thanks
Matt Simonsen




More information about the Rt-devel mailing list