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

Email reports are broken #680

Closed
matteocontrini opened this issue May 13, 2023 · 4 comments
Closed

Email reports are broken #680

matteocontrini opened this issue May 13, 2023 · 4 comments

Comments

@matteocontrini
Copy link

I have weekly email reports enabled on my account on Goatcounter.com but it seems they stopped working a while ago. The last report I received was in the last week of December 2022.

Is this a known issue?

@arp242
Copy link
Owner

arp242 commented May 16, 2023

Can you tell me what your account or email is? I see three possible email addresses that could be yours 😅

@matteocontrini
Copy link
Author

@arp242 you should be able to find my account from the Goatcounter domain mcont. I have weekly reports enabled there but I don't receive them.

Thank you!

@arp242 arp242 closed this as completed in 988621a May 18, 2023
@arp242
Copy link
Owner

arp242 commented May 18, 2023

The problem is that the code to calculate the "end of week" didn't work with year transitions; it's kind of a special case since "end of day, month, etc." is never in the next year. That explains why it stopped on 25th Dec specifically and why some other people did get reports (enabled after Jan 2023, or using a different time period).

I fixed the bug, and I reset the time of last report to Monday the 15th, so you should get a report next Monday.

@matteocontrini
Copy link
Author

Awesome, thanks!

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

2 participants