From 00345369ad799a3c8089c74c7978ca2b12f174d5 Mon Sep 17 00:00:00 2001 From: Taka Date: Thu, 22 Oct 2020 09:51:06 +0000 Subject: [PATCH] Don't adjust for time zones when unloading the scenario date. --- vasl_templates/webapp/static/utils.js | 1 - 1 file changed, 1 deletion(-) diff --git a/vasl_templates/webapp/static/utils.js b/vasl_templates/webapp/static/utils.js index 49fb442..88ee159 100644 --- a/vasl_templates/webapp/static/utils.js +++ b/vasl_templates/webapp/static/utils.js @@ -87,7 +87,6 @@ function get_scenario_date() var scenario_date = $("input[name='SCENARIO_DATE']").datepicker( "getDate" ) ; if ( ! scenario_date ) return null ; - scenario_date.setMinutes( scenario_date.getMinutes() - scenario_date.getTimezoneOffset() ) ; return scenario_date ; }