I am based in the UK Where we format dates for 17th May 2018 like so:
17/5/18
Is it possible for the Craft Control Panel to use a specified format when listing entries' post date / expiry date etc?
Craft 2
The Date/Time formatting in the Control Panel is based on what locale you're using when you're viewing the Control Panel.
If you have eb_gb
as a locale defined under Settings->Sites->Locales, then you can go to your user account settings and set your "Preferred Locale" settings to "British English" and you'll get the DD/MM/YYYY format.
Craft 3
The locale you're site is currently set to and the language your viewing the Control Panel in are now separate concepts. If you go to your user account, click "Preferences", you'll see a "Language" dropdown, which controls the date/time formatting of the Control Panel for you.
If you want to set this globally for users that haven’t yet set their preferred language then you can use the defaultCpLanguage
config setting. This is also useful when migrating a site from Craft 2.x to 3.x as all existing users won’t have set that preference and it will default to en-US
.
en-gb
, however showing the date fields in the entry list in the CP still shows the M/D/Y format, not D/M/Y.
Commented
Apr 20, 2018 at 8:12
yyyy-mm-dd
or even dd.mm.yyyy
(German). Is that possible?
Commented
Aug 22, 2019 at 9:47