adithyakashyapv opened a new issue, #37169:
URL: https://github.com/apache/airflow/issues/37169
### Apache Airflow version
2.8.1
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
I have a task that runs on a custom schedule interval, for all the hour
values other than 0 the '{{ ds }}' value is returning '{{ next_ds }}' value.
which is incorrect.
### What you think should happen instead?
Irrespective of the h value the {{ ds }} value should be consistent
### How to reproduce
Have a simple task that is expected to run every 3 hours and it should print
{{ ds }} value, you will see that the task that is scheduled at h = 3 hours
will start returning the {{ next_ds }} value in the place of {{ ds }}
### Operating System
Ubuntu 22.0
### Versions of Apache Airflow Providers
_No response_
### Deployment
Docker-Compose
### Deployment details
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [X] 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)
--
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]