lib/hyper-i18n/operations/localize.rb in hyper-i18n-1.0.alpha1.8 vs lib/hyper-i18n/operations/localize.rb in hyper-i18n-1.0.0.pre.alpha1

- old
+ new

@@ -11,12 +11,10 @@ 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)) - .symbolize_keys + @opts ||= params.opts.with_indifferent_access.merge(format: formatted_format(params.format)) end step do params.localization = ::I18n.l(date_or_time, opts) end