Use new field for all time date range as well

pull/1822/head
Uku Taht 5 years ago
parent 5c290b1982
commit e572877cdd

@ -188,7 +188,7 @@ defmodule Plausible.Stats.Query do
def from(site, %{"period" => "all"} = params) do
start_date =
site.inserted_at
site.stats_start_date
|> Timex.Timezone.convert("UTC")
|> Timex.Timezone.convert(site.timezone)
|> Timex.to_date()

Loading…
Cancel
Save