diff --git a/lib/custom_wizard/mapper.rb b/lib/custom_wizard/mapper.rb index e8f943e5..435779aa 100644 --- a/lib/custom_wizard/mapper.rb +++ b/lib/custom_wizard/mapper.rb @@ -209,7 +209,7 @@ class CustomWizard::Mapper format = attrs.last if attrs.length > 1 result = '' - if key == 'time' && + if key == 'time' time_format = format.present? ? format : "%B %-d, %Y" result = Time.now.strftime(time_format) end