You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2021/12/08 18:03:31 UTC
[airflow] 04/05: Fix log link in gantt view (#20121)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 6be960981ed486fb06f3e7d214e0a08a13dac0c1
Author: Jed Cunningham <66...@users.noreply.github.com>
AuthorDate: Wed Dec 8 09:11:43 2021 -0700
Fix log link in gantt view (#20121)
(cherry picked from commit f59decd391b75c509020e603e5857bb63ec891be)
---
airflow/www/views.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/www/views.py b/airflow/www/views.py
index a217758..5178283 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2875,7 +2875,7 @@ class Airflow(AirflowBaseView):
task_dict['end_date'] = task_dict['end_date'] or timezone.utcnow()
task_dict['extraLinks'] = dag.get_task(ti.task_id).extra_links
task_dict['try_number'] = try_count
- task_dict['execution_date'] = dttm
+ task_dict['execution_date'] = dttm.isoformat()
tasks.append(task_dict)
tf_count = 0
@@ -2897,7 +2897,7 @@ class Airflow(AirflowBaseView):
task_dict['operator'] = task.task_type
task_dict['try_number'] = try_count
task_dict['extraLinks'] = task.extra_links
- task_dict['execution_date'] = dttm
+ task_dict['execution_date'] = dttm.isoformat()
tasks.append(task_dict)
task_names = [ti.task_id for ti in tis]