Removed useless date() call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d35fb75d7d
commit
178f656465
|
@ -86,7 +86,7 @@ case 'post':
|
||||||
$hh = ($hh > 23) ? $hh - 24 : $hh;
|
$hh = ($hh > 23) ? $hh - 24 : $hh;
|
||||||
$mn = ($mn > 59) ? $mn - 60 : $mn;
|
$mn = ($mn > 59) ? $mn - 60 : $mn;
|
||||||
$ss = ($ss > 59) ? $ss - 60 : $ss;
|
$ss = ($ss > 59) ? $ss - 60 : $ss;
|
||||||
$now = date("$aa-$mm-$jj $hh:$mn:$ss");
|
$now = "$aa-$mm-$jj $hh:$mn:$ss";
|
||||||
$now_gmt = get_gmt_from_date("$aa-$mm-$jj $hh:$mn:$ss");
|
$now_gmt = get_gmt_from_date("$aa-$mm-$jj $hh:$mn:$ss");
|
||||||
} else {
|
} else {
|
||||||
$now = current_time('mysql');
|
$now = current_time('mysql');
|
||||||
|
|
Loading…
Reference in New Issue