|
Title: Always a day behind Post by: Billy Bambrey on December 13, 2009, 08:12:16 AM It looks like it will not capture items created 'today'. They show up a day behind. This isn't really an issue but if you know a fix then let me know.
Also ... this could be why some people do not see anything ... if it is a new section/category etc.. Title: Re : Always a day behind Post by: Raphael on December 13, 2009, 10:04:33 PM Hi again Billy,
Thanks for this second feedback. We will check this problem too and correct it for the next version of the module. Regards, Title: Re: Always a day behind Post by: wedge mark on January 10, 2010, 06:32:27 AM It appears to be a time zone issue. The date for creation and publishing has the timezone offset added
to it in the database. I fixed the problem by changing the following in helper.php I changed $now = date( 'Y-m-d H:i', time() ); to $date =& JFactory::getDate(); $now = $date->toMySQL(); This is the way the mod_latestnews gets the current time. Hope this helps. Title: Re : Always a day behind Post by: Raphael on January 10, 2010, 11:49:11 AM Thanks for your message!
We will use your post to correct the problem in the next release of the module. Regards,
Powered by SMF 1.1 RC3 |
SMF © 2001-2006, Lewis Media
Joomla Bridge by JoomlaHacks.com |