File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2889,7 +2889,7 @@ def gantt(self, session=None):
2889
2889
task_dict ['end_date' ] = task_dict ['end_date' ] or timezone .utcnow ()
2890
2890
task_dict ['extraLinks' ] = dag .get_task (ti .task_id ).extra_links
2891
2891
task_dict ['try_number' ] = try_count
2892
- task_dict ['execution_date' ] = dttm
2892
+ task_dict ['execution_date' ] = dttm . isoformat ()
2893
2893
tasks .append (task_dict )
2894
2894
2895
2895
tf_count = 0
@@ -2911,7 +2911,7 @@ def gantt(self, session=None):
2911
2911
task_dict ['operator' ] = task .task_type
2912
2912
task_dict ['try_number' ] = try_count
2913
2913
task_dict ['extraLinks' ] = task .extra_links
2914
- task_dict ['execution_date' ] = dttm
2914
+ task_dict ['execution_date' ] = dttm . isoformat ()
2915
2915
tasks .append (task_dict )
2916
2916
2917
2917
task_names = [ti .task_id for ti in tis ]
You can’t perform that action at this time.
0 commit comments