I am new to ruby on rails. I want to display my date format as YYYY-MM-DD HH:MM:SS
. On using calendar_date_select
method with :time=>true
in my view, I am able to display the format as YYYY-MM-DD HH:MM
. Is there any method which could overwrite the current diplaying format to the format I need?
Aucun commentaire:
Enregistrer un commentaire