From a0950f1a5c9ca9566e8f477e51e31d1c99c586fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=A5=E7=8F=80?= Date: Sat, 13 Nov 2021 18:34:05 +0800 Subject: [PATCH] fix:timeline behavior (#279) --- functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 15d05ae..0a31216 100644 --- a/functions.php +++ b/functions.php @@ -1358,7 +1358,10 @@ function memory_archives_list() if ($mon != $mon_tmp && $mon > 0) { $output .= ''; } - + if ($mon == $mon_tmp && $year != $year_tmp ) { + $mon=$mon_tmp + 12; + $output .= ''; + } if ($year != $year_tmp && $year > 0) { $output .= ''; }