Skip to content

Commit

Permalink
Fixed bug with date selector having to be clicked twice
Browse files Browse the repository at this point in the history
  • Loading branch information
akhenry committed Jul 8, 2016
1 parent 58ed500 commit e230b92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ define(
var SIX_HOURS = 6 * 60 * 60 * 1000;

function TimeConductorController($scope, $timeout, conductor) {
var now = Date.now();
var now = Math.ceil(Date.now() / 1000) * 1000;
var self = this;

this.$scope = $scope;
Expand Down

0 comments on commit e230b92

Please sign in to comment.