From b13240c84141a54683e918e33847251d00f67098 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 13 May 2011 02:22:23 +0000 Subject: Fixes #3439 forcing months to have leading zero git-svn-id: http://code.elgg.org/elgg/trunk@9065 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/lib/blog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php index 512f8f6d5..2c53c0f0f 100644 --- a/mod/blog/lib/blog.php +++ b/mod/blog/lib/blog.php @@ -228,7 +228,7 @@ function blog_get_page_content_archive($owner_guid, $lower = 0, $upper = 0) { $content .= $list; } - $title = elgg_echo('date:month:' . date('n', $lower), array(date('Y', $lower))); + $title = elgg_echo('date:month:' . date('m', $lower), array(date('Y', $lower))); return array( 'content' => $content, -- cgit v1.2.3