lib/tr8n/extensions/time_extension.rb in tr8n-3.1.5 vs lib/tr8n/extensions/time_extension.rb in tr8n-3.1.6
- old
+ new
@@ -70,10 +70,9 @@
when "{since_epoch}" then tokens[:since_epoch] = strftime("%s")
when "{day_of_month}" then tokens[:day_of_month] = strftime("%e")
end
end
-# options.merge!(:skip_decorations => true) if options[:skip_decorations].blank?
language.tr(label, nil, tokens, options)
end
alias :tr :translate
def trl(format = :default, language = Tr8n::Config.current_language, options = {})