Jump to content
Sign in to follow this  
JanaMala

Formát data na faktuře

Recommended Posts

Dobrý den, jak mych mohla změnit formát datumu na fakturách a dodacích listech z rrrr-mm-dd

na český formát dd mm rrrr? Používám prestashop 1.4.0.17. Předem moc děkuji za radu.

Share this post


Link to post
Share on other sites

classes/Tools.php

riadok 425

 

Riadok vyzera takto:

return ($tmpTab[0].'-'.$tmpTab[1].'-'.$tmpTab[2].($full ? $hour : ''));

 

Staci ho modifikovat na:

return ($tmpTab[2].'.'.$tmpTab[1].'.'.$tmpTab[0].($full ? $hour : ''));

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More