Hi - all my Blog posts on Blogs Top Posts page each displays date: 1 january 1970.
Date must be correct in database, because on the actual post date is correct. Also on home page block it's displayed correct.
Anyone know how to fix?
I've tried, but don't know enough PHP to get it right without changing the format...
I mean, can fix by enabling these 2 first lines and disabling the 3. line, but this gives me the php_date_format in English, and my site is in Danish!
//$sDateFormatPhp = getParam('php_date_format');
//$sDateTime = date( $sDateFormatPhp, strtotime( $aResSQL['PostDate'] ) );
$sDateTime = LocaledDataTime($aResSQL['PostDate_UTS']);


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks