Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The date is reversed


tommy11011

Recommended Posts

All, thanks in advance for your help.

 

when looking at product info, at the point where you click "add to cart", at the bottom it says "This product was added to our catalog on Monday 18 April, 2005."

 

How can I make it say Monday, April 18, 2005?

 

thanks.

Link to comment
Share on other sites

You mean you want it reversed? (The default format is more popular in Europe.)

 

In catalog/includes/languages/english.php, change:

define('DATE_FORMAT_LONG', '%A %d %B, %Y');

to

define('DATE_FORMAT_LONG', '%A, %d %B, %Y');

See here for the meanings of the various field codes used.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...