Commit 61904deae3b6a21fd38f434a60acb8473c770263
1 parent
86ce616d
Exists in
master
and in
16 other branches
Add default locale
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/groupdate/magic.rb
... | ... | @@ -245,7 +245,7 @@ module Groupdate |
245 | 245 | when :month_of_year |
246 | 246 | key = Date.new(2014, key, 1).to_time |
247 | 247 | end |
248 | - I18n.localize(key, format: options[:format].to_s) | |
248 | + I18n.localize(key, format: options[:format].to_s, locale: I18n.locale) | |
249 | 249 | end |
250 | 250 | end |
251 | 251 | else | ... | ... |