Zen Cart Logo

Edit DATE ORDERED

Views: 465

Results 1 to 3 of 3
25 Jun 2011, 5:25 PM
#1
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Edit DATE ORDERED

Hello, how can I edit the DATE ORDERED TEXT from NEW ORDER [Order Confirmation] ?
http://s1.postimage.org/oxhzz0cl/ordered.jpg

I want to display my language Month Names, Iunie, Iulie - in place of June/August/September/etc ...

Or how can i delete the day name, and only remain the date? 25-June-2011

25 Jun 2011, 5:51 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Edit DATE ORDERED

If you are using (or creating) a LANGUAGE PACK, then the date formatting is governed in the main language.php file. (where "language" is the language of the specific language pack you are using.)

For example:

@setlocale(LC_TIME, 'en_UK.ISO_8859-1'); (would show dates in UK ENGLISH)
@setlocale(LC_TIME, 'fr_FR.ISO_8859-1'); (would show dates in FRENCH)

26 Jun 2011, 5:58 AM
#3
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Edit DATE ORDERED

Oh, great! Solved the problem.

Many many thanks schoolboy. Best regards.