Skip to content

Commit

Permalink
Changed default duration to fifteen minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
akhenry committed Jul 12, 2016
1 parent 0884169 commit 97f3fd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/features/conductor-v2/src/TimeConductorController.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ define(
[],
function () {

var SIX_HOURS = 6 * 60 * 60 * 1000;
var FIFTEEN_MINUTES = 15 * 60 * 1000;

function TimeConductorController($scope, $timeout, conductor) {
var self = this;
Expand Down Expand Up @@ -102,7 +102,7 @@ define(
TimeConductorController.prototype.initialize = function () {
var now = Math.ceil(Date.now() / 1000) * 1000;
//Set the time conductor to some default
this.conductor.bounds({start: now - SIX_HOURS, end: now});
this.conductor.bounds({start: now - FIFTEEN_MINUTES, end: now});

this.$scope.modeModel.selected = 'fixed';
this.conductor.follow(false);
Expand Down

0 comments on commit 97f3fd5

Please sign in to comment.