mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Wrong period for quarterly reports.
This commit is contained in:
parent
578f606a1a
commit
b6eb8f7793
1 changed files with 1 additions and 1 deletions
|
@ -28,8 +28,8 @@ class DirectoryItem < ActiveRecord::Base
|
|||
since = case period_type
|
||||
when :daily then 1.day.ago
|
||||
when :weekly then 1.week.ago
|
||||
when :quarterly then 3.weeks.ago
|
||||
when :monthly then 1.month.ago
|
||||
when :quarterly then 3.months.ago
|
||||
when :yearly then 1.year.ago
|
||||
else 1000.years.ago
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue