Jump to content

Horodatage commandes et factures disparu !


Recommended Posts

  • 5 months later...
  • 2 weeks later...
  • 2 months later...

Merci youssef!

 

il suffit donc d'executer la requête SQL dans phpmyadmin: Attention ici "ps_lang" doit etre remplacé par la bonne table si vous avez choisi a l'installation un suffix different de PS donc par exemple: xx_lang ou yy_lang ou zz_lang ou autre.

 

ALTER TABLE `ps_lang` ADD `date_format_lite` char(32) NOT NULL DEFAULT

'Y-m-d' AFTER language_code;

ALTER TABLE `ps_lang` ADD `date_format_full` char(32) NOT NULL DEFAULT

'Y-m-d H:i:s' AFTER date_format_lite;

UPDATE `ps_lang` SET `date_format_lite` = 'd/m/Y' WHERE `iso_code` IN

('fr', 'es', 'it');

UPDATE `ps_lang` SET `date_format_full` = 'd/m/Y H:i:s' WHERE `iso_code`

IN ('fr', 'es', 'it');

UPDATE `ps_lang` SET `date_format_lite` = 'd.m.Y' WHERE `iso_code` =

'de';

UPDATE `ps_lang` SET `date_format_full` = 'd.m.Y H:i:s' WHERE `iso_code`

= 'de';

UPDATE `ps_lang` SET `date_format_lite` = 'm/d/Y' WHERE `iso_code` =

'en';

UPDATE `ps_lang` SET `date_format_full` = 'm/d/Y H:i:s' WHERE `iso_code`

= 'en';

 

Mille merci encore !!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...