analytics/test/plausible_web/controllers/api
RobertJoonas 7536f0285c
Fix weekly interval bug (#3686)
* Fix a bug

This commit fixes a bug where the timeseries weekly interval query for a
month returned 0 visitors for the first week.

This happened because the start of the month defining the first week was
missing the UTC -> site.timezone conversion.

* Update test/plausible_web/controllers/api/stats_controller/main_graph_test.exs

Remove dot from test description

Co-authored-by: Karl-Aksel Puulmann <macobo@users.noreply.github.com>

---------

Co-authored-by: Karl-Aksel Puulmann <macobo@users.noreply.github.com>
2024-01-15 14:39:27 +00:00
..
external_stats_controller Limit Custom Properties access in Stats API (#3670) 2024-01-09 14:58:10 +00:00
internal_controller Remove custom domains support + update build options (#3559) 2023-11-29 11:04:54 +01:00
stats_controller Fix weekly interval bug (#3686) 2024-01-15 14:39:27 +00:00
external_controller_test.exs Protect against custom props payloads breaking event insertions (#3617) 2023-12-12 15:43:11 +01:00
external_sites_controller_test.exs Disallow funny business on timezone entry (#3662) 2024-01-02 14:38:02 +01:00
internal_controller_test.exs Implement pinned sites (#3469) 2023-11-13 09:08:26 +01:00
paddle_controller_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00