bernat/best_in_place — Issue #114: picking March 3, storing Feb 2?
Author: BobWalsh
Created: 2012-03-10 00:55:22+00:00
State: open

from:

<%= best_in_place goal, :goal_setaside, :display_as => :gl_date %>

with gl_date in my Goal model defined as:

def gl_date
self.deadline.strftime("%b %e %Y")
end

picking march 3 from the datepicker that shows up is stored as 2012-02-03 ... and so on. Month and date are transposed.

So what's the fix?