Skip to content

Commit

Permalink
Fix scenario graph
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Mar 8, 2024
1 parent 4f4442f commit f67f939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assets/js/timerGraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function showTimerGraph() {
};

let today = new Date();
today = `${today.getFullYear()}-${today.getMonth() < 9 ? '0' : ''}${today.getMonth()+1}-${today.getDate()}T`;
today = `${today.getFullYear()}-${today.getMonth() < 9 ? '0' : ''}${today.getMonth()+1}-${today.getDate() < 9 ? '0' : ''}${today.getDate()}T`;

const begin_time = Date.parse( today + jQuery('input#begin_time').val() + ':00');
let end_time = Date.parse( today + jQuery('input#end_time').val() + ':00');
Expand Down

0 comments on commit f67f939

Please sign in to comment.