1
0
Fork 0

Increase default time interval

This commit is contained in:
Gregory Eremin 2015-03-18 02:13:30 +07:00
parent 1bcee40579
commit 7cbcd35810
1 changed files with 1 additions and 1 deletions

View File

@ -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)