Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2889,7 +2889,7 @@ def gantt(self, session=None):
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()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign I really hate this subtle T and space difference in Python’s datetime.

tasks.append(task_dict)

tf_count = 0
Expand All @@ -2911,7 +2911,7 @@ def gantt(self, session=None):
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]
Expand Down