mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
exclude stats from the current day
This commit is contained in:
parent
bf61a5384e
commit
d3eda71447
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ get '/site/:username/stats' do
|
|||
location_hash
|
||||
end
|
||||
|
||||
stats_dataset = @site.stats_dataset.order(:created_at.desc)
|
||||
stats_dataset = @site.stats_dataset.order(:created_at.desc).exclude(created_at: Date.today)
|
||||
|
||||
if @site.supporter?
|
||||
unless params[:days].to_s == 'sincethebigbang'
|
||||
|
|
Loading…
Add table
Reference in a new issue