You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/12 15:23:58 UTC

[GitHub] [airflow] millin commented on pull request #14204: Fix comparison dagTZ with localTZ

millin commented on pull request #14204:
URL: https://github.com/apache/airflow/pull/14204#issuecomment-778259545


   Hi Ash,
   I set `default_timezone = Europe/Moscow` and `default_ui_timezone = Europe/Moscow` in config.
   
   dagTZ is converted to upper in line below, but momentjs gives the value not in uppercase - `Europe/Moscow`
   https://github.com/apache/airflow/blob/26c2f4d794a0ae546d1fcb3250142cda494d2c49/airflow/www/static/js/task-instances.js#L41
   so I just changed case of localTZ for correct comparison in below conditions
   https://github.com/apache/airflow/blob/26c2f4d794a0ae546d1fcb3250142cda494d2c49/airflow/www/static/js/task-instances.js#L56


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org