Teapot Creative Posted November 17, 2014 Share Posted November 17, 2014 Hi We have changed date format in Languages but STILL the date format for "product availability" date is still not reflecting the change?? We want it d-m-y , but shows as m-d-y Any suggestions... Nick 1 Link to comment Share on other sites More sharing options...
Teapot Creative Posted November 18, 2014 Author Share Posted November 18, 2014 Bump.. Link to comment Share on other sites More sharing options...
Torben Posted July 21, 2015 Share Posted July 21, 2015 Any help for this one - I've the same question. Torben Link to comment Share on other sites More sharing options...
Toysguardian Posted April 12, 2018 Share Posted April 12, 2018 Bug? Link to comment Share on other sites More sharing options...
jetx Posted March 26, 2019 Share Posted March 26, 2019 On 4/13/2018 at 6:09 AM, Toysguardian said: Bug? yeah it is. Link to comment Share on other sites More sharing options...
DJFearRoss Posted July 10, 2019 Share Posted July 10, 2019 Did anyone find a solution to this? PrestaShop version: 1.7.2.4 Link to comment Share on other sites More sharing options...
urgise Posted March 4, 2020 Share Posted March 4, 2020 In your template add |date_format:"%d %m %Y" to the product.available_date {$product.available_date|date_format:"%d %m %Y"} Files to change: /your_theme/templates/catalog/_partials/product-prices.tpl Link to comment Share on other sites More sharing options...
Chrissic Posted May 5, 2020 Share Posted May 5, 2020 On 3/4/2020 at 8:11 AM, urgise said: In your template add |date_format:"%d %m %Y" to the product.available_date {$product.available_date|date_format:"%d %m %Y"} Files to change: /your_theme/templates/catalog/_partials/product-prices.tpl OMG this has so fixed a nightmare I've been having. this worked for me on the Product page too. thank you Link to comment Share on other sites More sharing options...
Chrissic Posted May 5, 2020 Share Posted May 5, 2020 I also wanted a little different format. I found Smarty formats here https://www.smarty.net/docsv2/en/language.modifier.date.format.tpl Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now