added time offset
git-svn-id: http://svn.automattic.com/wordpress/trunk@410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9d417f7937
commit
1a261103b9
|
@ -131,7 +131,7 @@ while($calendarmonthwithpost == 0) {
|
||||||
."FROM $tableposts "
|
."FROM $tableposts "
|
||||||
."WHERE MONTH(post_date) = '$thismonth' "
|
."WHERE MONTH(post_date) = '$thismonth' "
|
||||||
."AND YEAR(post_date) = '$thisyear' "
|
."AND YEAR(post_date) = '$thisyear' "
|
||||||
."AND post_date < '".date("Y-m-d H:i:s")."' "
|
."AND post_date < '".date("Y-m-d H:i:s", (time() + ($time_difference * 3600)))."' "
|
||||||
."AND post_status = 'publish' "
|
."AND post_status = 'publish' "
|
||||||
."ORDER BY post_date DESC";
|
."ORDER BY post_date DESC";
|
||||||
$querycount++;
|
$querycount++;
|
||||||
|
@ -218,7 +218,7 @@ if ($ak_use_tooltip_titles == 1) {
|
||||||
."FROM $tableposts "
|
."FROM $tableposts "
|
||||||
."WHERE YEAR(post_date) = '$thisyear' "
|
."WHERE YEAR(post_date) = '$thisyear' "
|
||||||
."AND MONTH(post_date) = '$thismonth' "
|
."AND MONTH(post_date) = '$thismonth' "
|
||||||
."AND post_date < '".date("Y-m-d H:i:s")."' "
|
."AND post_date < '".date("Y-m-d H:i:s", (time() + ($time_difference * 3600)))."' "
|
||||||
."AND post_status = 'publish'"
|
."AND post_status = 'publish'"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue