Skip to content

Commit

Permalink
fix: calendar_yearview
Browse files Browse the repository at this point in the history
  • Loading branch information
j1g5awi authored and alphatownsman committed Jan 1, 2025
1 parent 145bf5a commit 0781bcd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions journal/static/js/calendar_yearview_blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@
var wrap_chart = _this;

var end_date = new Date(settings.final_date);
end_date.setDate(end_date.getDate()+1);
var current_date = new Date();
var start_date = new Date();
start_date.setMonth(end_date.getMonth() - 12);
end_year = end_date.getFullYear()
end_date.setDate(end_date.getDate()+1);
var current_date = new Date();


var start_weekday = settings.start_monday === true?1:0;
for (var i = 0; i < 7; i++) {
Expand Down

0 comments on commit 0781bcd

Please sign in to comment.