Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

date display problem in acount history page


pol2005

Recommended Posts

Posted

hello in my shop when a customer goes to his acount history page the order date display like this:''������� 18 �������, 2010''.

I saw that the date takes its value from the orders table and the 'date purchased ' column.

Do you know how can i correct this?

Posted

also my shop is in greek.instead of'������� 18 �������, 2010'' it should displays ''Sunday 18 july 2010''(in greek of course).

i don't have problem with encoding ,greek display correct.

i think it is encoding problem.ihave changed column date_purchased encoding to utf-8 but nothing.

any solution?

Posted

ok i solved it.

In catalog/includes/languages/greek.php

@setlocale(LC_TIME, 'el_GR');

replaced with

@setlocale(LC_TIME, 'el_GR.UTF-8');

Archived

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

×
×
  • Create New...