fpopic commented on issue #36629:
URL: https://github.com/apache/airflow/issues/36629#issuecomment-1880199167
> @fpopic instead of using `pendulum.from_format('{{ ds }}',
fmt="YYYY-MM-DD") `can you try `newer_than='{{ ds }}'` as defauft format is
`YYYY-MM-DD` only
@vatsrahul1001 this works.
Moreover I found a way how to make working expressions based on airflow
logical full datetime (date+time).
Was referring to
-
https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/timezone.html
- https://airflow.apache.org/docs/apache-airflow/stable/templates-ref.html
and tried only options with parsing `ts` into datetime object.
However, found a simpler way using pendulum
https://pendulum.eustace.io/docs/#addition-and-subtraction.
```py
```
--
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]