Good Morning Everyone,
I am still fiddling around trying to learn all about the wonderful world of Zen Cart, and have a couple of questions about modifying the english.php file. I have made a copy of the file under a directory named after my template, but before playing with it wanted to make sure I'm doing the right thing. As an example, let's have a quick look at a small section from the file:
// look in your $PATH_LOCALE/locale directory for available locales..
// on RedHat try 'en_US'
// on FreeBSD try 'en_US.ISO_8859-1'
// on Windows try 'en', or 'English'
@setlocale(LC_TIME, 'en_US.ISO_8859-1');
define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
If I change the date formats here to %d/%m/%y for DATE_FORMAT_SHORT and d/m/Y for DATE_FORMAT, will this then update all appearances of dates etc throughout the site as day/month/year as opposed to the American convention of month/day/year?
Similarly, if I change the format for the DOB_FORMAT_STRING along the same lines, will this achieve the same result for the DOB field?
Thanks,
Christian



