### Apache Airflow version

2.2.1

### Operating System

Linux 5.4.149-73.259.amzn2.x86_64

### Versions of Apache Airflow Providers

default for 2.2.1

### Deployment

Other 3rd-party Helm chart

### Deployment details

aws eks using own-developed helm chart

### What happened

When trying to open log from gantt view - receiving an exception
```
  File "/home/airflow/.local/lib/python3.9/site-packages/pendulum/parsing/__init__.py", line 177, in _parse_common
    return date(year, month, day)
ValueError: year 0 is out of range
```

due to incorrect query parameter push: no value for `execution_date` pushed
```
/log?dag_id=report_generator_daily&task_id=check_quints_earnings&execution_date=
```

### What you expected to happen

Logs should be available

### How to reproduce

Open dag's `gantt` chart
click on task ribbon
click on `log`
observe an error

### Anything else

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

airflow/www/views.py
]
        children_end_dates = [
            item['end_date'] for item in child_instances if item['run_id'] == dag_run.run_id
        ]
        children_states = [item['state'] for item in child_instances if item['run_id'] == dag_run.run_id]
        group_state = None
        for state in priority:
            if state in children_states:
                group_state = state
                break
        group_start_date = wwwutils.datetime_to_string(
            min((timezone.parse(date) for date in children_start_dates if date), default=None)
        )
        group_end_date = wwwutils.datetime_to_string(
            max((timezone.parse(date) for date in children_end_dates if date), default=None)
        )
        return {
            'task_id': task_group.group_id,
            'run_id': dag_run.run_id,
            'state': group_state,
            'start_date': group_start_date,
            'end_date': group_end_date,
        }
    group_summaries = [get_summary(dr, children) for dr in dag_runs]
    return {
        'id': task_group.group_id,
        'label': task_group.label,
        'children': children,
        'tooltip': task_group.tooltip,
        'instances': group_summaries,