Fixed bug with date selector having to be clicked twice

This commit is contained in:
Henry 2016-07-08 15:15:12 -07:00
parent 58ed500ecf
commit e230b92946

View File

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