mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix for stats runner (i think)
This commit is contained in:
parent
f296b86752
commit
126ad0c494
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ get '/stats/?' do
|
||||||
|
|
||||||
now = Date.today
|
now = Date.today
|
||||||
|
|
||||||
until runner.to_time > now.next_month.to_time
|
while runner.to_time < now.to_time
|
||||||
monthly_stats.push(
|
monthly_stats.push(
|
||||||
date: runner,
|
date: runner,
|
||||||
sites_created: Site.where(created_at: runner..runner.next_month).count,
|
sites_created: Site.where(created_at: runner..runner.next_month).count,
|
||||||
|
|
Loading…
Add table
Reference in a new issue