We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2555a36 commit fc1fb47Copy full SHA for fc1fb47
app/controllers/stats_controller.rb
@@ -10,8 +10,8 @@ def show
10
@sum_of_dojos = DojoEventService.count('DISTINCT dojo_id')
11
@sum_of_participants = EventHistory.sum(:participants)
12
13
- # 2012年1月1日〜2017年12月31日までの集計結果
14
- period = Time.zone.local(2012).beginning_of_year..Time.zone.local(2017).end_of_year
+ # 2012年1月1日〜2018年12月31日までの集計結果
+ period = Time.zone.local(2012).beginning_of_year..Time.zone.local(2018).end_of_year
15
stat = Stat.new(period)
16
@dojos = stat.annual_sum_total_of_aggregatable_dojo
17
@events = stat.annual_count_of_event_histories
0 commit comments