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

naptation bug #4

Open
litchnom opened this issue Sep 12, 2018 · 1 comment
Open

naptation bug #4

litchnom opened this issue Sep 12, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@litchnom
Copy link
Contributor

With a generic naptation schedule, the entire day is perceived to be a single arc, despite many sleeps upon the arcs should be based on.

python polytime.py --sleeps Alpha 05:30-07:00 Beta 12:00-12:20 Gamma 16:00-16:20 Delta 22:00-01:00 works fine

python polytime.py --sleeps Alpha 00:00-00:20 Beta 02:00-02:20 Gamma 04:00-04:20 does not work as it should.

@litchnom litchnom added the bug Something isn't working label Sep 12, 2018
@litchnom litchnom self-assigned this Sep 12, 2018
@litchnom
Copy link
Contributor Author

litchnom commented Sep 12, 2018

A suggestion by @absentabyss is to test for all arcs that don't have sleeps through the midnight to determine if the current arc does. This is an alternative to my current approach of handling arcs which pass through midnight, which should make the code less complicated, making the bug easier to understand, if not resolve the issue completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant