In Date.pm why is $negative off?

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

I think it’s the way it is because a bunch of people complained about
the old behaviour. "Can’t please all the people all the time"On Wed, May 07, 2003 at 11:16:54AM -0700, Matt Simonsen wrote:

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


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

http://www.bestpractical.com/rt – Trouble Ticketing. Free.