Is it possible to apply strftime formatting to the value of a text input field using a Rails text_field helper? In the form I use for creating or editing a record, I have a text input field which is populated by a variant of the calendardateselect javascript. I click the text field and a little calendar pops up. After I select year, month, day and time the calendar goes away and what is left in the text input is a text representation of the date. That s what I see if I go to edit the record as well.
I d like to modify how that date is displayed in the text input field. In other templates where that date is displayed I can use strftime, but I don t know how (or even if it s possible) to format the value of a text input field.
Thanks.
Steve