summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
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;
}