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

feat: Dynamic shift of working hours don't exceed end time or precede start time #29

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

sonjek
Copy link
Owner

@sonjek sonjek commented Apr 7, 2024

When an interval is selected, the dynamic shift should ensure that the adjustment doesn't extend beyond the start or precede the end of working hours.

For instance, a typical work schedule of 09:00-19:00 could be adjusted to 09:14-18:46.

This shift introduces flexibility in start and end times, which helps maintain the program's activity without raising suspicion. However, it's crucial that these adjustments don't delay the commencement of work or cause the workday to conclude prematurely.

According to the new logic, the beginning of the workday will be shifted forward by 3-14 minutes, and the end of the workday will be extended by 3-14 minutes.

09:00-19:00 will be adjusted to start sometime between 08:46 and 09:00 and end of working hours between 19:00 and 19:14.

@sonjek sonjek added the kind/feature New feature or request label Apr 7, 2024
@sonjek sonjek self-assigned this Apr 7, 2024
@sonjek sonjek force-pushed the shift branch 2 times, most recently from 9ec4835 to fd22a81 Compare April 7, 2024 12:29
@sonjek sonjek merged commit 70e41dd into main Apr 7, 2024
3 checks passed
@sonjek sonjek deleted the shift branch April 7, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant