<h3 dir="auto">Body</h3>
<p dir="auto"><code class="notranslate">days_ago</code> is deprecated <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1141944778" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/21653" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21653/hovercard" href="https://github.com/apache/airflow/pull/21653">#21653</a></p>
<p dir="auto">We have several references to the function in test suite / example dags.</p>
<p dir="auto">Task:<br>
there should be no imports of <code class="notranslate">airflow.utils.dates import days_ago</code> in the code.<br>
In most cases we can simple replace with <code class="notranslate">datetime(2022, 1, 1)</code></p>
<h3 dir="auto">Committer</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I acknowledge that I am a maintainer/committer of the Apache Airflow project.</li>
</ul>
<h3 dir="auto">Body</h3>
<p dir="auto"><code class="notranslate">days_ago()</code> is deprecated <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1141944778" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/21653" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21653/hovercard" href="https://github.com/apache/airflow/pull/21653">#21653</a></p>
<p dir="auto">There are many test using this function thus raising warnings.<br>
This task is to replace all usages of <code class="notranslate">days_ago()</code> in the tests with alternatives.<br>
A stale PR that started to work on it <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1151536551" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/21830" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/21830/hovercard" href="https://github.com/apache/airflow/pull/21830">#21830</a> but didn't finish</p>
<h3 dir="auto">Committer</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I acknowledge that I am a maintainer/committer of the Apache Airflow project.</li>
</ul>