title: React-Admin DateField, DateInput locale global
body: <p>React admin allows you to set Date locales at the component when you use the <code>DateField</code> and <code>DateInput</code>. </p>
  
  <pre><code>&lt;DateField source="publication_date" locales="fr-FR" /&gt;
  // renders the record { id: 1234, publication_date: new Date('2017-04-23') } as
  &lt;span&gt;23/04/2017&lt;/span&gt;
  </code></pre>
  
  <p>but most of the time we don't need to set it on the component, rather we need to configure it globally. Is there a way to set it globally?</p>
  
  <p>I tried setting default <code>locale</code> of the i18n provider, but looks like it is only considered for translation and not for date formatting. </p>
  
  <p>Also I tried overriding <code>Date.toLocaleDateString()</code> but didn't work as well.</p>