Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to find the days?


multimixer

Recommended Posts

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

Link to comment
Share on other sites

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

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');

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...