Last Updated: February 25, 2016
·
1.271K
· nishantmodak

Datetime_select Separator

<%= f.datetime_select :published_at, {:use_short_month=>"true",     :end_year=>Time.now.year,:order => [:day, :month, :year, :hour, :minute], :datetime_separator => " at "} %>

The default datetime separator for rails is a —

:datetime_separator => " at "