Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Local time and date


xciso

Recommended Posts

Hi everybody!!

 

I'm going to edit my date and time of the shop.

 

At the TD Footer the day text is in english.

I want to have the text in swedish.

When Im trying to edit in includes/languge/svenska.php at line 21

 

setlocale(LC_TIME, 'sv_SE.ISO_8859-1');

 

But I think it should look like this

setlocale('LC_TIME', 'sv_SE.ISO_8859-1');

 

But when i change and set this 'LC_TIME' i got error like this.

 

Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in h:\home\users\FA04-15-07-03_hyz923czueukgu2tycd7\swestylesound.com\public_html\includes\languages\svenska.php on line 21

 

Please help!!

 

Come on and post!! :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...