Skip to content

Commit

Permalink
modified default hour to improve usability
Browse files Browse the repository at this point in the history
  • Loading branch information
onotch committed Jan 9, 2021
1 parent 4ea733e commit 3c03368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ $(document).ready(function() {

function initDateSelect() {
var now = new Date();
now.setHours(now.getHours() - 3);
now.setHours(now.getHours() - now.getHours() % 3 - 1);
const year = now.getFullYear();
const month = now.getMonth() + 1;
const day = now.getDate();
Expand Down

0 comments on commit 3c03368

Please sign in to comment.