diff --git a/app/controllers/stats_controller.rb b/app/controllers/stats_controller.rb index 013b33d14..cde29d315 100644 --- a/app/controllers/stats_controller.rb +++ b/app/controllers/stats_controller.rb @@ -10,8 +10,8 @@ def show @sum_of_dojos = DojoEventService.count('DISTINCT dojo_id') @sum_of_participants = EventHistory.sum(:participants) - # 2012年1月1日〜2017年12月31日までの集計結果 - 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 stat = Stat.new(period) @dojos = stat.annual_sum_total_of_aggregatable_dojo @events = stat.annual_count_of_event_histories diff --git a/app/views/stats/show.html.haml b/app/views/stats/show.html.haml index f5fa9441a..96cd709a0 100644 --- a/app/views/stats/show.html.haml +++ b/app/views/stats/show.html.haml @@ -55,7 +55,7 @@ %h3 最新データ - 2018年のデータも含めた最新の統計情報は次のとおりです。 + 2019年のデータも含めた最新の統計情報は次のとおりです。 %div{align: 'center'} %table{style: 'margin-top: 4px;'} %thead