Jump to content

The day and month are inverted in PDF invoice


Recommended Posts

Hello,

 

Today I discovered a problem on my Prestashop 1.5.6.2.

 

Some of my invoices in court for delivery or not delivered have the day and month reversed.

 

I have defined in my design files .tpl:

 

{$ date | date_format: "% d /% m /% Y '| escape:' htmlall ':' UTF-8 '}

 

But the invoice show me : % m /"% d /% Y

 

What is really bizard is that some invoices show the date in the correct format and others do not, I do not understand why some invoices have reversed time.

 

Do you have an idea please?

Link to comment
Share on other sites

  • 2 weeks later...

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...