Jump to content

Smartblog data format problem


Recommended Posts

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.

 

 

Bez tytułu.jpg

Link to comment
Share on other sites

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

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