You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
external_stats_controller Limit Custom Properties access in Stats API (#3670) 3 years ago
internal_controller Remove custom domains support + update build options (#3559) 3 years ago
stats_controller Fix weekly interval bug (#3686) 3 years ago
external_controller_test.exs Protect against custom props payloads breaking event insertions (#3617) 3 years ago
external_sites_controller_test.exs Disallow funny business on timezone entry (#3662) 3 years ago
internal_controller_test.exs Implement pinned sites (#3469) 3 years ago
paddle_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago