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

Daily task human readable schedule returns all the days of the weeks since 2.7.0 #796

Open
alexandre-paroissien opened this issue Aug 27, 2024 · 0 comments

Comments

@alexandre-paroissien
Copy link

Hello team, when upgrading from 2.6.0 to 2.7.0 the human readable schedule was changed:

For example:

Unit testing periodic_task.crontab.human_readable (where periodic_task is a PeriodicTask instance)

Before (2.6.0): "At 01:00 AM UTC"
After (2.7.0): "At 01:00 AM, only on Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday UTC"

Before (2.6.0): "At 06:05 PM, on day 28 of the month, only in February UTC"
After (2.7.0): "At 06:05 PM, on day 28 of the month, only on Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday, only in February UTC"

This seems too verbose and redundant, if the task is daily, there's no need to list all the days of the week, this edge case could be corrected to revert back to the 2.6.0 message

It might be coming from this change:
#745

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant