This is an automated email from the ASF dual-hosted git repository.
ryanahamilton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new fe0ee58 Fix comparison dagTZ with localTZ (#14204)
fe0ee58 is described below
commit fe0ee585d11474a0c99e51a4400dc16f643ea14b
Author: Alexander Millin <[email protected]>
AuthorDate: Mon Feb 15 18:35:09 2021 +0300
Fix comparison dagTZ with localTZ (#14204)
---
airflow/www/static/js/task-instances.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/www/static/js/task-instances.js
b/airflow/www/static/js/task-instances.js
index eb512f9..871f344 100644
--- a/airflow/www/static/js/task-instances.js
+++ b/airflow/www/static/js/task-instances.js
@@ -35,7 +35,7 @@ function generateTooltipDateTimes(startDate, endDate, dagTZ) {
}
const tzFormat = 'z (Z)';
- const localTZ = moment.defaultZone.name;
+ const localTZ = moment.defaultZone.name.toUpperCase();
startDate = moment.utc(startDate);
endDate = moment.utc(endDate);
dagTZ = dagTZ.toUpperCase();