humit0 commented on PR #54431:
URL: https://github.com/apache/airflow/pull/54431#issuecomment-3294375923
@ashb
With below environment variables and
```bash
export AIRFLOW__CORE__DEFAULT_TIMEZONE=Asia/Seoul
```
Using below python file. (airflow version is 3.0.6)
```python
from airflow.models import DAG
from airflow.providers.standard.operators.bash import BashOperator
default_args = {
"owner": "airflow",
"depends_on_past": False,
"start_date": "2023-01-01",
"retries": 1,
}
with DAG(
dag_id="test_dag",
default_args=default_args,
schedule="@once",
) as dag:
BashOperator(
task_id="test_task",
bash_command="echo '{{ ds }}'",
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]