Thanks for this gem - I've spend hours trying to find a date picker that I can get to work with Rails 4 - really impressed that the docs are straight forward and it was so easy.
But I need to change the default date format from mm/dd/yyyy to dd/mm/yyyy ?
TIA, Dave
ps: In date_format.rb in initializers it is set correctly:
Date::DATE_FORMATS[:default] = "%d/%m/%Y" # 2013-11-03
ps2 I'm seeing this in the file anjlabs.widgets.rb - what is the cleanest way to change this?
Thanks for this gem - I've spend hours trying to find a date picker that I can get to work with Rails 4 - really impressed that the docs are straight forward and it was so easy.
But I need to change the default date format from mm/dd/yyyy to dd/mm/yyyy ?
TIA, Dave
ps: In date_format.rb in initializers it is set correctly: Date::DATE_FORMATS[:default] = "%d/%m/%Y" # 2013-11-03
ps2 I'm seeing this in the file anjlabs.widgets.rb - what is the cleanest way to change this?
when :en "%m/%d/%Y"