From 7cbcd358102408f2d007804ae8ee839a7b115fc3 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Wed, 18 Mar 2015 02:13:30 +0700 Subject: [PATCH] Increase default time interval --- app/jsx/app.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jsx/app.jsx b/app/jsx/app.jsx index edc85b0..789c5d8 100644 --- a/app/jsx/app.jsx +++ b/app/jsx/app.jsx @@ -251,7 +251,7 @@ var WeekIntervalSelector = React.createClass({ var daySeconds = 86400, weekSeconds = daySeconds*7, lastWeek = this.state.weeks[this.state.weeks.length-1], - from = (this.getQuery().f ? parseInt(this.getQuery().f, 10)*100 : lastWeek - 7*weekSeconds), + from = (this.getQuery().f ? parseInt(this.getQuery().f, 10)*100 : lastWeek - 29*weekSeconds), to = (this.getQuery().t ? parseInt(this.getQuery().t, 10)*100 : lastWeek); var weeksBefore = _(this.state.weeks)