summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-07-19 19:34:25 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-07-19 19:34:25 (GMT)
commit79e69e365ae9442c35b5ed5ebf2b68901b700c85 (patch)
tree849505bf294888b48b34de3e8f443614abf946d4 /www/js
parent6577bb44354778eaa19fffa4b5f60811c72e76db (diff)
cleanup
Diffstat (limited to 'www/js')
-rw-r--r--www/js/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/utils.js b/www/js/utils.js
index eec81b0..29d1a84 100644
--- a/www/js/utils.js
+++ b/www/js/utils.js
@@ -91,7 +91,7 @@ function get_rd_week(msEpoch) {
// with 0 meaning Week 1. So add 1 to that number and you will get
// the current RD week.
//
- var sEpoch = ((+msEpoch) / 1000) ;
+ var sEpoch = msEpoch / 1000 ;
var week = Math.floor((((sEpoch + 259200)/604800) + 2) % 4) + 1;
return week;
}