multimixer Posted July 1, 2009 Share Posted July 1, 2009 Hi people I'm looking to find where the days and months are getting defined as text that is used in the DATE_FORMAT_LONG. I mean the place where "monday" is called "monday" in english, "montag" in german etc I have it in english and german correctly, but not in greek. If it s somewhere in the language files, then I'm blind My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
spooks Posted July 1, 2009 Share Posted July 1, 2009 its part of php itself, the function used being strftime (http://uk2.php.net/strftime) which displays the date in the language set by setlocale (http://uk2.php.net/manual/en/function.setlocale.php) Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
multimixer Posted July 1, 2009 Author Share Posted July 1, 2009 Thank you for the reply. I solved the issue, that was caused by the Greek language pack that I got from contributions. The locale value was set wrong In greek.php it was @setlocale(LC_TIME, 'el_gr.utf-8'); and now I changed to @setlocale(LC_TIME, 'el_GR.utf-8'); My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.