mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 01:54:06 +00:00
fix #45
This commit is contained in:
@@ -67,7 +67,9 @@ function yearly(year) {
|
||||
}
|
||||
|
||||
function monthly(year, month, posts) {
|
||||
const monthPosts = posts.filter(post => post.date.getMonth() === month);
|
||||
const monthPosts = posts.filter(post =>
|
||||
post.date.getFullYear().toString() === year && post.date.getMonth() === month
|
||||
);
|
||||
let liHtml = '';
|
||||
for (const post of monthPosts) {
|
||||
liHtml += `<li class="d-flex mt-1 py-1 flex-row flex-nowrap flex-justify-between"><span class="flex-auto css-truncate css-truncate-target">
|
||||
|
Reference in New Issue
Block a user