Open ilyakatz opened 12 years ago
Formtastic::Inputs::UiDatePickerInput#input_html_options
has a line
super.update(:class => new_class, :value => localized(value))
which fails because value returns a formatted string so I18n.localize(value) throws an exception.
I18n.localize(value)
Should it be something like this?
super.update(:class => new_class, :value => localized(object.send(method)))
yes, I think someone posted a similar issue. Please fix it and issue a pull request. Thanks :)
has a line
which fails because value returns a formatted string so
I18n.localize(value)
throws an exception.Should it be something like this?