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

"this week" or "this month" should set the timeframe to the complete week or month #1194

Open
Grimmwicht opened this Issue May 30, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@Grimmwicht

Grimmwicht commented May 30, 2018

Hi folks,

I'm refering to the this week and this month functionality right below the global time frame selector.

###_ Expected behaviour
When ich click this week or this month it should set the timeframe to the current week or month, from start to end, e.g. this week: 28.05.2018 - 03.06.2018.

Actual behaviour

The timeframe changes from the beginning of this week or month to today, which is not correct, because the actual month is not ending today. So when I return to my computer the next day, the timeframe ended yesterday.

Reproducable on demo.kimai.org? [yes|no]

yes

Kimai version [for example: dev 1.1.0.1389|github master|github develop]

v1.2.2.1394

@simonschaufi

This comment has been minimized.

Member

simonschaufi commented May 31, 2018

So when I return to my computer the next day, the timeframe ended yesterday.

Can't reproduce this. For me the "to" date is automatically updated every day to the current day

@Grimmwicht Grimmwicht changed the title from "this week" or "this month" it should set the timeframe to the complete week or month to "this week" or "this month" should set the timeframe to the complete week or month Jun 7, 2018

@Grimmwicht

This comment has been minimized.

Grimmwicht commented Jun 7, 2018

I watched it for the last few days, and yes, Kimai behaved as you said. Every morning it changed the day to the actual day. Except this morning, Kimai just stuck to yesterdays date, and made a red blinking wavery line under it. Even after reload it doesn't change the day.

But my point is this: If i click "this week" it shouldn't just display the start of the week to today, but the whole week – from monday to sunday, even if it's in the future. This way, you could avoid the error mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment