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/stats_controller
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
..
authorization_test.exs Google APIs integration improvements (#2358) 4 years ago
browsers_test.exs Add Browser/Version breakdown to CSV (#3599) 3 years ago
cities_test.exs Reject unknown imported cities from queries (#2675) 4 years ago
conversions_test.exs Fix goal filter inconsistency (#3658) 3 years ago
countries_test.exs Props details view (#3196) 3 years ago
current_visitors_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
custom_prop_breakdown_test.exs Bugfix: Allow breakdown by internally used prop keys for Growth plans (#3562) 3 years ago
funnels_test.exs Add small build option (#3536) 3 years ago
main_graph_test.exs Fix weekly interval bug (#3686) 3 years ago
operating_systems_test.exs Props details view (#3196) 3 years ago
pages_test.exs Upgrade stack (deps, elixir 1.16, OTP 26.2.1) (#3678) 3 years ago
regions_test.exs Prevent crashes on ambiguity when casting timezones (#3663) 3 years ago
screen_sizes_test.exs Props details view (#3196) 3 years ago
sources_test.exs Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
suggestions_test.exs Upgrade Erlang/Elixir stack (#3454) 3 years ago
top_stats_test.exs Small build updates (#3546) 3 years ago