From e230b92946aa7bb11832b65d58f447c602747c9f Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 8 Jul 2016 15:15:12 -0700 Subject: [PATCH] Fixed bug with date selector having to be clicked twice --- platform/features/conductor-v2/src/TimeConductorController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/features/conductor-v2/src/TimeConductorController.js b/platform/features/conductor-v2/src/TimeConductorController.js index cdbc00ebd4a..01db98ef6c7 100644 --- a/platform/features/conductor-v2/src/TimeConductorController.js +++ b/platform/features/conductor-v2/src/TimeConductorController.js @@ -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;