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

fix: follow setting when quick scheduling next week (#3373) #3550

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

miqh
Copy link
Contributor

@miqh miqh commented Oct 6, 2024

Description

Hello there,

I tried scouring history for context around why the quick action for scheduling a task forces it to always be the following Monday, but it's still not clear to me why. The following commit appears to be the original appearance:

8822001

The proposed changes here should ensure that the FIRST_DAY_OF_WEEK setting is respected.

Though one might argue that rather than abide by the setting, the action should instead be today's date plus seven days.

Anyway, I'm happy to revise as necessary. I was going to pull out the rather similar logic for establishing the scheduled date into a utility function, but thought I'd solicit feedback first.

Issues Resolved

#3373

Check List

  • New functionality includes testing.
  • New functionality has been documented in the README if applicable.

@johannesjo
Copy link
Owner

Thank you very much!!

@johannesjo johannesjo merged commit 6960971 into johannesjo:master Oct 9, 2024
6 checks passed
@miqh miqh deleted the fix/quick-scheduling-next-week branch October 10, 2024 08:44
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

Successfully merging this pull request may close these issues.

2 participants