Guest Posted December 2, 2003 Share Posted December 2, 2003 :huh: How can I change the date format without creating an error message? Regards Sam [email protected] Link to comment Share on other sites More sharing options...
berkedam Posted December 2, 2003 Share Posted December 2, 2003 in ../catalog/includes/languages/TheLanguageYouNeedToChange.php try to change as follows: <q> <?php /* $Id: Dutch.php,v 1.124 2003/07/11 09:03:49 jan0815 Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // look in your $PATH_LOCALE/locale directory for available locales // or type locale -a on the server. // Examples: // on RedHat try 'de_DE' // on FreeBSD try 'de_DE.ISO_8859-1' // on Windows try 'de' or 'German' @setlocale(LC_TIME, 'nl_NL.ISO_8859-1'); define('DATE_FORMAT_SHORT', '%d.%m.%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A, %d. %B %Y'); // this is used for strftime() define('DATE_FORMAT', 'd.m.Y'); // this is used for strftime() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); </> "If you're working on something new, then you are necessarily an amateur." Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.