title: Rails: Changing date format displayed in date_field
body: <p>I am working on a rails application and have changed the date format displayed across my app to <code>dd.mm.yyyy</code> using the following code in a file in the <code>config/initializers</code> directory:</p>
  
  <pre><code>Date::DATE_FORMATS[:default]="%d.%m.%Y"
  Time::DATE_FORMATS[:default]="%d.%m.%Y %H:%M"
  </code></pre>
  
  <p>However, in my forms where I am using the <code>f.date_field</code> tags, the date display is shown as <code>mm/dd/yyyy</code>. How can I change the format used there?</p>