New "Annotation" feature - off-by-one issue
Describe the Bug
Hi.
Thank you for adding the new amazing Annotation feature to Umami, really useful to add notes to specific dates.
I have just tried adding a simple annotation to one of the charts (the overview chart), and I wanted to set it to the 5th of september, but when I added it, the annotation was set to the 4th of september instead of the 5th.
So I tried adjusting it to the 6th of september to see if the label then would be placed on the 5th, and I was right. It seems like there is an issue with the Annotation being off-by-one. For reference, you can see the attached screenshot.
It could be an issue that I'm only facing, maybe timezone has a saying in this as well? I don't know. But I would have assume it would work correctly despite the differences in timezone, since you mark a single date, and no timestamp, when creating an annotation.
Database
PostgreSQL
Relevant log output
Which Umami version are you using?
3.4.0
How are you deploying your application?
Docker (via Portainer)
Which browser are you using?
Chrome
Source: umami-software/umami