aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-13 02:22:23 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-13 02:22:23 +0000
commitb13240c84141a54683e918e33847251d00f67098 (patch)
treecf2823d1e764c19cc825705d71faeb6059ca0518 /mod
parentbde272ddcbd73d5d893d9fa5e572fbba39e6202e (diff)
downloadelgg-b13240c84141a54683e918e33847251d00f67098.tar.gz
elgg-b13240c84141a54683e918e33847251d00f67098.tar.bz2
Fixes #3439 forcing months to have leading zero
git-svn-id: http://code.elgg.org/elgg/trunk@9065 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/lib/blog.php2
1 files changed, 1 insertions, 1 deletions
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,