Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change long date to USA format


dreamscape

Recommended Posts

I know alot of people here run USA based stores, so I thought I'd post this. It may have been posted before, but I really can't remember so here it is.

 

Default OSC returns the long date format as "Wednesday 16 July, 2003". That format is a little awkward for us USA store owners. The correct USA format for that would be "Wednesday July 16, 2003"

 

how to change this? open includes/languages/english.php and at the top, change:

define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

 

to:

define('DATE_FORMAT_LONG', '%A %B %d, %Y'); // this is used for strftime()

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...