Repository: climate Updated Branches: refs/heads/master e4c5ccca3 -> 6137db7aa
CLIMATE-402 - Fix ParameterSelectCtrl time value initialization - The default start time is now set to 1900-01-01. This should prevent the dataset's start time from being prior to this date and thus ignored. Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/f142c198 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/f142c198 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/f142c198 Branch: refs/heads/master Commit: f142c19833d5d92341fdb97414da73819adb78ca Parents: e4c5ccc Author: Michael Joyce <[email protected]> Authored: Sun Apr 6 14:47:30 2014 -0700 Committer: Michael Joyce <[email protected]> Committed: Sun Apr 6 14:47:30 2014 -0700 ---------------------------------------------------------------------- ocw-ui/frontend/app/js/controllers/ParameterSelectCtrl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/f142c198/ocw-ui/frontend/app/js/controllers/ParameterSelectCtrl.js ---------------------------------------------------------------------- diff --git a/ocw-ui/frontend/app/js/controllers/ParameterSelectCtrl.js b/ocw-ui/frontend/app/js/controllers/ParameterSelectCtrl.js index c7636b6..d75e9d3 100644 --- a/ocw-ui/frontend/app/js/controllers/ParameterSelectCtrl.js +++ b/ocw-ui/frontend/app/js/controllers/ParameterSelectCtrl.js @@ -28,7 +28,7 @@ function($rootScope, $scope, $http, $timeout, selectedDatasetInformation, region $scope.latMax = 90; $scope.lonMin = -180; $scope.lonMax = 180; - $scope.start = "1980-01-01 00:00:00"; + $scope.start = "1900-01-01 00:00:00"; $scope.end = "2030-01-01 00:00:00"; // The min/max lat/lon values that are displayed @@ -245,7 +245,7 @@ function($rootScope, $scope, $http, $timeout, selectedDatasetInformation, region latMax = 90, lonMin = -180, lonMax = 180, - start = "1980-01-01 00:00:00", + start = "1900-01-01 00:00:00", end = "2030-01-01 00:00:00", datasetRegrid = false; // Get the valid lat/lon range in the selected datasets.
