summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-06-22 19:49:19 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-06-22 19:49:36 (GMT)
commit2007dd5ef2707e497d99434027048aee20ad43b3 (patch)
tree6c4a33421b89c08952ee34681d2f62b7e67a087a /www/js
parent1c2f67f93e01a4b0f9f2bb690c77821fb6dd9326 (diff)
use noon to generate dates, updated Readme
Diffstat (limited to 'www/js')
-rw-r--r--www/js/calendar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/calendar.js b/www/js/calendar.js
index 48ba5ef..afc2369 100644
--- a/www/js/calendar.js
+++ b/www/js/calendar.js
@@ -25,7 +25,7 @@ var current_week_offset = 0;
function getLastMonday() {
var d = new Date(clock.getRDTimeMS());
- d.setUTCHours(0, 0, 0, 0);
+ d.setUTCHours(12, 0, 0, 0);
var dow = d.getUTCDay()
if(dow == 0) {
return new Date(d - (6*24*3600000));