Skip to content

Commit

Permalink
Merge pull request #5 from Augustinus-Altovadensis/patch-3
Browse files Browse the repository at this point in the history
Update functions.js (New month: bug in 2025. #3 solved)
  • Loading branch information
BrRoman authored Feb 24, 2024
2 parents 03b0dbe + 04144e0 commit ce4f576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function component(date, year, month, day, weekday, before, color, header, body,
}
} else {
block_new_year = '';
if (day == 1) {
if (day == 1 && month != 11) {
month = date.getMonth();
block_new_month = '<div class="month green my-3">' + month_human_readable(month) + '</div>';
} else {
Expand Down

0 comments on commit ce4f576

Please sign in to comment.