Displaying 1 result from an estimated 1 matches for "pxyl8".
Did you mean:
pxl8
2012 Apr 30
0
custom lib for datepicker
Hi there,
I''m doing an own library to manage datetimes depending on locales, to
deal with the formats of datetimes. I actually overrides 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 = "1...