For both files (admin and store side) it should be
PHP Code:// look in your $PATH_LOCALE/locale directory for available locales..
$locales = array('en_AU', 'en_AU.utf8', 'en', 'English_Australia.1252');
@setlocale(LC_TIME, $locales);
For both files (admin and store side) it should be
PHP Code:// look in your $PATH_LOCALE/locale directory for available locales..
$locales = array('en_AU', 'en_AU.utf8', 'en', 'English_Australia.1252');
@setlocale(LC_TIME, $locales);
There are actually three (3) files that come into play here:
- /YOUR_ADMIN/includes/languages/english.php, as you've described
- /includes/languages/YOUR_TEMPLATE/english.php, where you'll enter the updated define statements and the re-arrangement of the zen_date_raw function
- /includes/languages/english.php, which is loaded after the template-version, so all the locale-setting statements that you've identified for the template-override directory must be specified here for those settings to take effect.
Hmm... in more than 8 years of using ZC for many stores, I never changed anything in the core english.php file and always had the desired result using the template override file, no problems whatsoever. So, I am not so sure if it is necessary to change the locale settings in the core english.php file as well.
Too late to edit my post above.
The Wiki does not specify that one needs to change the core file as well. Instead it clearly states to copy the core file first and then make the changes (using the override as usual).
See https://www.zen-cart.com/wiki/index.php/Date_Format