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

Last 7 days with hourly resolution doesn't include today #3342

Open
2 tasks done
ArniPL opened this issue Sep 13, 2023 · 5 comments
Open
2 tasks done

Last 7 days with hourly resolution doesn't include today #3342

ArniPL opened this issue Sep 13, 2023 · 5 comments

Comments

@ArniPL
Copy link

ArniPL commented Sep 13, 2023

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for self-hosted support

Using official Plausible Cloud hosting or self-hosting?

Self-hosting

Describe the bug

Currently, when in "last 7 days" period and "days" resolution, you can see that the current day is incomplete and displays a dotted line on the graph:

image

But when we switch to "hours" resolution, current day disappears and the graph shows only 6 days. This makes it impossible to for example to compare today's traffic with same day last week.

image

Expected behavior

The "last 7 days" period in "hours" resolution should display all data up until this hour when it should display a dotted line. Just like it does in the "today" period:

image

Screenshots

No response

Environment

N/A
@ruslandoga
Copy link
Contributor

ruslandoga commented Sep 14, 2023

👋 @ArniPL

https://plausible.io/plausible.io?period=7d seems to display "today" as well.
Screenshot 2023-09-14 at 07 19 00

So if it was a bug, it seems to have already been fixed on master

@ArniPL
Copy link
Author

ArniPL commented Sep 14, 2023

Hey @ruslandoga.

Yes, "last 7 days" period correctly displays today, as I mentioned in my bug report. But when you switch to hours, it does not anymore and shows only last 6 days not including today. See screenshot below:

image

@ruslandoga
Copy link
Contributor

Ah, right. Sorry :)

Pinging @plausible/developers to check if this is intentional that https://plausible.io/plausible.io?period=7d + "hours" resolution doesn't show today.

@ruslandoga ruslandoga reopened this Sep 14, 2023
@ovived
Copy link

ovived commented Sep 14, 2023

keep me posted

@krisbuist
Copy link
Contributor

Should be fixed with #3363

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

4 participants