Topic Closed
14 Posts


Despite the fact that dates are set up for each new blog article,

<span class="simple_blog_date"></span>

remains empty as you can see.

Any possible reason for that?


    $blog_date = '<span class="simple_blog_date">';

    $blog_date .= strftime(SimpleBlogCommon::$data['strftime_format'],$post['time']);

    $blog_date .= '</span>';


After testing it appears that $data['strftime_format'] doesn't return anything while $post['time'] does.

And it's correctly set up in Admin_BlogConfig





Edited: 3 years ago#10504

29 Posts


I've had this same issue previously and only had to debug it again recently. I don't know what causes the problem, but I was guessing it's a bug (maybe not quite a bug) that the date format on the hosting server or within Typesetter doesn't match the format of the Simple Blog plugin - so it may work for some where month comes before day in date format!!!!

To fix, enter a different date format in the back-end of Simple Blog configuration page in 'Date Format' field. Try: %b %Y as a test and this will display Month Year. You'll need to save configuration and may need to also click 'Regenerate Gadget' down the bottom of that config page too.

Let us know if that fixes it for you.

3 years ago#10506

14 Posts

Hi Dal,

I've figured out that the problem happens only on my localhost.

No issue anymore when I test live on the remote server.

Since I don't have time for further testing I will lieave it as it is.

Thanks for reaching out!

3 years ago#10507

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In