ive asked this before and done it before but can i for the life of me remember how to do it or find my post for over a year ago.
how can i change the date format from us m/d/y to uk format d/m/y??
thanks
ive asked this before and done it before but can i for the life of me remember how to do it or find my post for over a year ago.
how can i change the date format from us m/d/y to uk format d/m/y??
thanks
includes/languages/english.php -- adapt if using overrides
around line #24
define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
Switch the %d and %B around, like this:
define('DATE_FORMAT_LONG', '%A %B %d, %Y'); // this is used for strftime()
thanksbut is it not the line before??
define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime()
??
You'll notice two lines, one right after the other:
DATE_FORMAT_SHORT
DATE_FORMAT_LONG
Change both or whichever one you want.
Bookmarks