guuren Posted August 11, 2018 Share Posted August 11, 2018 Hi, I have a problem with a Smartblog Module. I want to change data format in posts. I was looking for options in smartblog_latest_news.tpl and I found a code <p class="date-created"[...]|date_format:"%b %e %Y"}</p> I change this format for: "%d-%m-%Y" and it doesn't work. I still have this default data format like on screen. Link to comment Share on other sites More sharing options...
Rolige Posted August 11, 2018 Share Posted August 11, 2018 Hello, Maybe it's just a cache, Try clearing cache or enabling the force compile option in the performance page. Regards! Link to comment Share on other sites More sharing options...
guuren Posted August 11, 2018 Author Share Posted August 11, 2018 (edited) Quote Hello, Maybe it's just a cache, Try clearing cache or enabling the force compile option in the performance page. Regards! I tried this and it didn't work. Edited August 11, 2018 by guuren (see edit history) Link to comment Share on other sites More sharing options...
Rolige Posted August 11, 2018 Share Posted August 11, 2018 Then you are not editing in the correct file, try printing a string to be sure you are editing in the right file and line of code. Link to comment Share on other sites More sharing options...
guuren Posted August 12, 2018 Author Share Posted August 12, 2018 14 hours ago, Rolige said: Then you are not editing in the correct file, try printing a string to be sure you are editing in the right file and line of code. At the beginning I replaced this data format for only "%Y" and still doesn't work. I have no idea what to do now with that issue. 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