From 3d3c76ac95fd5a4ac0788aeae61bfd0acd160419 Mon Sep 17 00:00:00 2001 From: Kanti Date: Mon, 28 Jul 2014 17:23:51 +0200 Subject: [PATCH] Useabilty improvement archive var includes the month only --- system/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 23f9aad..1ed6b1d 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -261,7 +261,7 @@ function get_posts($posts, $page = 1, $perpage = 0){ $post->date = strtotime($timestamp); // The archive per day - $post->archive = site_url(). 'archive/' . date('Y-m-d', $post->date) ; + $post->archive = site_url(). 'archive/' . date('Y-m', $post->date) ; // The post URL $post->url = site_url().date('Y/m', $post->date).'/'.str_replace('.md','',$arr[2]);