Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change date mount and days names


razvan_dc

Recommended Posts

Posted

helloo i whant to change name dates ex: Tuesday 09 November 2009 to my respective language all pages of my site is in my language but this litle thing i dont know how to change

i whait answer tanks

Posted

helloo i whant to change name dates ex: Tuesday 09 November 2009 to my respective language all pages of my site is in my language but this litle thing i dont know how to change

i whait answer tanks

You might find this thread helpful.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

i`ve reed this but doesn`t help me

Saturday 13 November, 2010 201 Nr. cereri din data Tuesday 09 November, 2010

Days and months all i heva to change becouse my site is in romanian and is ugly

to show englsh days and mounths another help?

Posted

Did you bother reading what's at the link Fimble posted?

:unsure:

 

If your site is Romanian only and you wanted to use what I posted the replacement code becomes:

 

  $months = array('Gerar', 'Faurar', 'Martisor', 'Prier', 'Florar', 'Ciresar', 'Cuptor', 'Gustar', 'Rapciune1', 'Brumarel', 'Brumar', 'Undrea'); 
 $info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, $months[ (int)strftime('%m') - 1 ]));

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...