Displaying 1 result from an estimated 1 matches for "datepicker_attribut".
Did you mean:
datepicker_attributes
2012 Apr 30
0
custom lib for datepicker
...the default
assign methods to made strptime.
I''ve made the following:
http://ideone.com/PXYl8
something is wrong when trying to access on I18n.t, the scope is valid,
if I put a debugger outside that misterious loop it prints what is
expected...
console output:
1.9.3p125 :001 > User.datepicker_attributes :created_at
=> [:created_at]
1.9.3p125 :002 > User.new.created_at = "10/10/2012 10:12"
=> "10/10/2012 10:12"
debugger outside the loop.
(rdb:1) p I18n.t(''time.datepicker_formats'').values.first
"%d/%m/%Y %H:%M"
(rdb:1) p Time.strptime(date...