Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate helper utility days_ago #21653

Merged
merged 1 commit into from
Feb 18, 2022
Merged

Conversation

dstandish
Copy link
Contributor

This helper function is not all that helpful, introduces confusion (e.g. which timezone? how to handle DST?), and results in a "moving" start date for dags.

Vote thread: https://lists.apache.org/thread/qfqjb8m3v834yc8mxo1oqtjddhp9sggk

@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Feb 18, 2022
This helper function is not all that helpful, introduces confusion (e.g. which timezone? how to handle DST?), and results in a "moving" start date for dags.

Vote thread: https://lists.apache.org/thread/qfqjb8m3v834yc8mxo1oqtjddhp9sggk
@dstandish dstandish merged commit 78490f8 into apache:main Feb 18, 2022
@dstandish dstandish deleted the deprecate-days-ago branch February 18, 2022 17:38
@potiuk
Copy link
Member

potiuk commented Feb 24, 2022

And here is why this was a GREAT move to deprecate days_ago: #10824 (comment)

@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants