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

New scheduler - minutes fix #577

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

jeernest
Copy link
Contributor

STR
let's suppose that current time is 5:15pm

current behavior

  1. create a new scheduler to run at 4:15pm - the form validation doesn't allow saving, because the time is in the past
  2. create a new scheduler to run at 5:45pm - the form validation allows saving, because it is in the future, the StartDate is set to 6pm
  3. create a new scheduler to run at 5:15pm - the form validation allows saving, because it is now, the StartDate is set to 5pm, which is in the past

expected bahavior
The form says that it rounds the minutes, so in case of current time, it should round the time to nearest hour in the future

@msalemcode msalemcode merged commit d66392a into Azure:main Nov 15, 2023
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.

Scheduler should add task for future time only
2 participants