lib/hyperstack/internal/i18n/localize.rb in hyper-i18n-1.0.alpha1.4 vs lib/hyperstack/internal/i18n/localize.rb in hyper-i18n-1.0.alpha1.5
- old
+ new
@@ -13,10 +13,12 @@
def date_or_time
@date_or_time ||= formatted_date_or_time(params.date_or_time)
end
def opts
- @opts ||= params.opts.with_indifferent_access.merge(format: formatted_format(params.format))
+ @opts ||= params.opts.with_indifferent_access
+ .merge(format: formatted_format(params.format))
+ .symbolize_keys
end
step do
params.localization = ::I18n.l(date_or_time, opts)
end