<p>No, there's currently no setting to choose your preferred date and time format. What you can do though, is to hack your craft/app/framework/i18n/data/en_us.php</p>

<pre class="lang-php prettyprint-override"><code>'dateFormats' =&gt; array (
    'full' =&gt; 'EEEE, d. MMMM y',
    'long' =&gt; 'd. MMMM y',
    'medium' =&gt; 'dd.MM.y',
    'short' =&gt; 'dd.MM.yy',
),
'timeFormats' =&gt; array (
    'full' =&gt; 'HH:mm:ss zzzz',
    'long' =&gt; 'HH:mm:ss z',
    'medium' =&gt; 'HH:mm:ss',
    'short' =&gt; 'HH:mm',
),
</code></pre>

CC BY-SA 3.0
2016-04-19T09:56:14.113Z
2016-04-19T09:56:14.113Z
carlcs
<p>I would like to render the DateTime fields in the backend with european time format, even though the user I'm logged in with is set to English/US.</p>

<p><a href="https://i.sstatic.net/j8dt0.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/j8dt0.png" alt="DateTime field"></a></p>

<p>Is this possible?</p>

<localization><control-panel><datetime>
Separate time settings from user locale?
# Separate time settings from user locale?

(Asked by: username_0 on 2016-04-19)

I would like to render the DateTime fields in the backend with european time format, even though the user I'm logged in with is set to English/US.

[![DateTime field](https://i.sstatic.net/j8dt0.png)](https://i.sstatic.net/j8dt0.png)

Is this possible?

**Tags:** localization, control-panel, datetime

---

## 1 answers

### Answer by username_1 on 2016-04-19. Score: 2

No, there's currently no setting to choose your preferred date and time format. What you can do though, is to hack your craft/app/framework/i18n/data/en_us.php
'dateFormats' => array (
    'full' => 'EEEE, d. MMMM y',
    'long' => 'd. MMMM y',
    'medium' => 'dd.MM.y',
    'short' => 'dd.MM.yy',
),
'timeFormats' => array (
    'full' => 'HH:mm:ss zzzz',
    'long' => 'HH:mm:ss z',
    'medium' => 'HH:mm:ss',
    'short' => 'HH:mm',
),


---

