results from console and server are different.
i am importing a date as a string
“05/07/2008 10:00 AM”
c.my_date = Time.parse(row) shows up as “2008-05-07” , the time is
but when i test this in the controller it works
c.my_date = Time.parse(“05/07/2008 10:00 AM”) shows up correctly as a
i am assuming that this has something with the way the data is being
saved while importing.
i can also inject the date in the model on the console and do a save
with the correct results.
can anyone explain what is going on and how i can solve this.