Skip to content

Commit

Permalink
Changing the default base date of the tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Kerzhner committed Sep 23, 2015
1 parent 7c78705 commit 34d4bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ def tree(self):
num_runs = int(num_runs) if num_runs else 25

if not base_date:
base_date = dag.latest_execution_date or datetime.now()
base_date = (dag.latest_execution_date + 2 * dag.schedule_interval) or datetime.now()
else:
base_date = dateutil.parser.parse(base_date)
base_date = utils.round_time(base_date, dag.schedule_interval)
Expand Down

0 comments on commit 34d4bdb

Please sign in to comment.