From 6851c1e0abce7e1443ad1532009ed4d94b70e762 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 22 Mar 2005 17:33:05 +0000 Subject: [PATCH] strtotime needs to now that the time string is in GMT. http://mosquito.wordpress.org/view.php?id=1075 git-svn-id: http://svn.automattic.com/wordpress/trunk@2471 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index 82719ad83..8820d8439 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -39,7 +39,7 @@ if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM foreach ($scheduled as $post) { if ($post->post_title == '') $post->post_title = sprintf(__('Post #%s'), $post->ID); - echo "
  • $post->post_title in " . human_time_diff( current_time('timestamp', 1), strtotime($post->post_date_gmt) ) . "
  • "; + echo "
  • $post->post_title in " . human_time_diff( current_time('timestamp', 1), strtotime($post->post_date_gmt. ' GMT') ) . "
  • "; } ?>