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

Week calculation for Weeks to Show and Input Fields is different #156

Open
bsalinas opened this issue Feb 15, 2015 · 0 comments
Open

Week calculation for Weeks to Show and Input Fields is different #156

bsalinas opened this issue Feb 15, 2015 · 0 comments

Comments

@bsalinas
Copy link

So I just came across this interesting edge case. Generally, there are 2 weeks of input fields to input time for (this week and last week). Today, when I logged into Staffplan, I only saw one input field.
This is what it looked like.
If I set my clock to 15.Feb 6:37 PM
screen shot 2015-02-15 at 6 37 36 pm

Because I had never seen that before, I changed my system clock to yesterday and refreshed the page:
If I set my clock to be 14.Feb 6:37 PM
screen shot 2015-02-14 at 6 37 15 pm

And then I set it to tomorrow.
If I set my clock to 16.Feb 6:37 PM
screen shot 2015-02-16 at 6 38 09 pm

It looks like the calculation for when to advance the weeks must be different in some way from the calculation for whether to show an input field.... or maybe there's something else.

No javascript errors in the console or anything else noticeably wrong with the app.

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