I have a birthday field in my database which has a date value as yyyy-mm-dd
. I want to display it as being more human friendly. So 2011-11-15
should show up as Tuesday, November 15th, 2011
.
The very strange thing is that when i do a @user.birthday
in rails console, the value does show up in the format I want. But not on the web.
I am not sure what s going on.