title: date-fns: how to define a default locale app-wide?
body: <p>It's pretty straightforward to set a locale in a per-function call basis:</p>
  <pre><code>import { formatRelative, subDays } from 'date-fns'
  import { ptBR } from 'date-fns/locale'
  
  formatRelative(subDays(new Date(), 3), new Date(), { locale: ptBR })
  </code></pre>
  <p>But how do I set a default locale to be used app-wide?</p>