Date format passing your custom locale

For example, my app has 3 idioms. And the locales are dynamic, users can be change it. Using ::18n.default_locale, just the server locale are be use, ignoring client locale. With this, is possible to pass user locale.