You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ry...@apache.org on 2021/02/15 15:35:25 UTC
[airflow] branch master updated: Fix comparison dagTZ with localTZ
(#14204)
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 <mi...@gmail.com>
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();