@@ -177,7 +177,7 @@ def compute_activity_types(message:, topic:, first_message_per_topic:, first_pat
177177
178178 def build_contribution_weeks ( year , filters : nil )
179179 ids = person_ids_for_query
180- return [ [ ] , [ ] ] if ids . blank?
180+ return [ [ ] , [ ] ] if ids . blank?
181181
182182 year = year . to_i
183183 wday_start = @week_start_day || WeekCalculation ::DEFAULT_WEEK_START
@@ -208,7 +208,7 @@ def build_contribution_weeks(year, filters: nil)
208208 end
209209
210210 month_spans = build_month_spans ( weeks_data )
211- [ weeks_data , month_spans ]
211+ [ weeks_data , month_spans ]
212212 end
213213
214214 def build_month_spans ( weeks_data )
@@ -218,10 +218,10 @@ def build_month_spans(weeks_data)
218218
219219 weeks_data . each do |week |
220220 first_date = week [ :days ] . first [ :date ]
221- month_key = [ first_date . year , first_date . month ]
221+ month_key = [ first_date . year , first_date . month ]
222222 if current_month != month_key
223223 if current_month
224- month_spans << { label : Date . new ( current_month [ 0 ] , current_month [ 1 ] , 1 ) . strftime ( '%b' ) , year : current_month [ 0 ] , month : current_month [ 1 ] , span : current_span }
224+ month_spans << { label : Date . new ( current_month [ 0 ] , current_month [ 1 ] , 1 ) . strftime ( "%b" ) , year : current_month [ 0 ] , month : current_month [ 1 ] , span : current_span }
225225 end
226226 current_month = month_key
227227 current_span = 1
@@ -230,7 +230,7 @@ def build_month_spans(weeks_data)
230230 end
231231 end
232232
233- month_spans << { label : Date . new ( current_month [ 0 ] , current_month [ 1 ] , 1 ) . strftime ( '%b' ) , year : current_month [ 0 ] , month : current_month [ 1 ] , span : current_span } if current_month
233+ month_spans << { label : Date . new ( current_month [ 0 ] , current_month [ 1 ] , 1 ) . strftime ( "%b" ) , year : current_month [ 0 ] , month : current_month [ 1 ] , span : current_span } if current_month
234234 month_spans
235235 end
236236
0 commit comments