From 79e69e365ae9442c35b5ed5ebf2b68901b700c85 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 19 Jul 2015 21:34:25 +0200 Subject: cleanup 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; } -- cgit v0.10.2