Genom Posted February 11, 2005 Share Posted February 11, 2005 thanks Link to comment Share on other sites More sharing options...
Simplyeasier Posted February 11, 2005 Share Posted February 11, 2005 thanks <{POST_SNAPBACK}> You need to edit catalog/includes/languages/xxxx.php where xxxx is the language file(s) you are using. In that file are the setting sfor your date format. hth Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
Genom Posted February 12, 2005 Author Share Posted February 12, 2005 You need to edit catalog/includes/languages/xxxx.php where xxxx is the language file(s) you are using. In that file are the setting sfor your date format. hth Charles <{POST_SNAPBACK}> there is this: 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'); but I dont see any february or september here what exactly to change? Link to comment Share on other sites More sharing options...
Daemonj Posted February 12, 2005 Share Posted February 12, 2005 Look in the PHP documentation at the date() function and what the format characters mean and then change define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() to be what you want. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein Link to comment Share on other sites More sharing options...
Genom Posted February 12, 2005 Author Share Posted February 12, 2005 Look in the PHP documentation at the date() function and what the format characters mean and then change define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() to be what you want. <{POST_SNAPBACK}> I still didnt get how to customize it to my language lets say that I want it will be in hebrew how to change name of the months? Link to comment Share on other sites More sharing options...
Genom Posted February 12, 2005 Author Share Posted February 12, 2005 nm I found how to do it thanks Link to comment Share on other sites More sharing options...
xciso Posted February 12, 2005 Share Posted February 12, 2005 nm I found how to do it thanks <{POST_SNAPBACK}> plz post how u do.. where can i see what my country (Sweden) has? Link to comment Share on other sites More sharing options...
burt Posted February 12, 2005 Share Posted February 12, 2005 Open up your language file (eg: /includes/languages/english.php) Change this line: @setlocale(LC_TIME, 'en_US.ISO_8859-1'); More information and examples/links can be found here: http://uk.php.net/manual/en/function.setlocale.php If you want to look it up in Google I believe it's RFC1766 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.