more GMT fixoragization

git-svn-id: http://svn.automattic.com/wordpress/trunk@938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi
2004-02-26 13:07:11 +00:00
parent e0d7119fe0
commit d31e7bcc4a
2 changed files with 11 additions and 11 deletions

View File

@@ -1127,10 +1127,10 @@ function start_wp() {
);
}
$authordata = get_userdata($post->post_author);
$post->post_date_gmt = $post->post_date;
$post->post_date = get_date_from_gmt($post->post_date);
$day = mysql2date('d.m.y', $post->post_date);
$currentmonth = mysql2date('m', $post->post_date);
$post->post_date_local = get_date_from_gmt($post->post_date);
# $post->post_date = get_date_from_gmt($post->post_date);
$day = mysql2date('d.m.y', $post->post_date_local);
$currentmonth = mysql2date('m', $post->post_date_local);
$numpages = 1;
if (!$page)
$page = 1;