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/lib/plausible/stats
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
..
aggregate.ex Small build updates (#3546) 3 years ago
base.ex Prevent crashes on ambiguity when casting timezones (#3663) 3 years ago
breakdown.ex Fix goal filter inconsistency (#3658) 3 years ago
clickhouse.ex Prevent crashes on ambiguity when casting timezones (#3663) 3 years ago
compare.ex Small bugfix + refactor email reports (#3642) 3 years ago
comparisons.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago
current_visitors.ex Clean up after V2 migration (#2868) 4 years ago
custom_props.ex Limit Custom Properties access in Stats API (#3670) 3 years ago
email_report.ex Small bugfix + refactor email reports (#3642) 3 years ago
filter_parser.ex Harden API input validation (#2869) 4 years ago
filter_suggestions.ex Limit Custom Properties access in Stats API (#3670) 3 years ago
filters.ex Update credo config + extras (#3547) 3 years ago
fragments.ex Fix weekly interval bug (#3686) 3 years ago
imported.ex Skip breakdown of imported pages with pageviews=0 (#3655) 3 years ago
interval.ex Disallow small intervals on large ranges (#3245) 3 years ago
props.ex Prop filter modal (#2841) 4 years ago
query.ex Remove custom domains support + update build options (#3559) 3 years ago
timeseries.ex Update credo config + extras (#3547) 3 years ago
util.ex Small build updates (#3546) 3 years ago