PDA

View Full Version : $listDays parameter a little off?


djemberay
05-07-2006, 08:52 PM
So today is May 7th and I put an event on June 6th. If I set $listDays to 30 the June 6th event doesn't show up and I believe it should. I did try 31 and it does show up. I believe it's off by 2 days depending on how one might interpret "x days from today." I personally would interpret 1 day from today to show today and tomorrow, but I'm open to other interpretations as long as they're well documented.

Minor thing obviously. Hope this helps!

-raymond

ve9gra
05-08-2006, 06:39 AM
"From today" might not be the right wording. Take it more like "starting today how many days do you want listed". 0 will show you none, 1 will show you today, 2 will be today and tomorrow, etc.

If you take a calendar and count 30 days starting with today (well May7 in your case) you end up on June 5th.