WordPress and the strange “Posted on %A %B %e%q, %Y”

Custom Grunge WordPress LogoApparentely it starts with no reason, but actually it starts because of qtranslate wordpress plugin.
You don’t ave to uninstall it as it is a valid tool.
Just it needs a little adjustment in its code.
As stated here:http://www.qianqin.de/qtranslate/forum/viewtopic.php?p=5988#p6142
it is sufficient to remove just one char from the file utils.php at line 151

edit this:

$date_parameters[] = '#%#'; 			$strftime_parameters[] = '%%';

to this

$date_parameters[] = '#%#'; 			$strftime_parameters[] = '%';

Just remove one out of two percentage symbols.
quiet easy. 

(Visited 1,944 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

4 thoughts on “WordPress and the strange “Posted on %A %B %e%q, %Y””

  1. Hi , I had the same problem with a few sites thanks for sharing the tip to fix this issue I was searching for a few minutes with no succes until get to your post.

  2. Hey There!

    Thanks for this helpful Post.
    Just had the same problem.
    And who on earth would ever
    know that the qTranslate plugin
    has something to do with Date Format
    for posts…

    tried to change the code in
    comments.php but there was
    nothing helpful!!

    Thanks I even shared the link
    on Twitter!!

  3. For anyone who installs qTranslate in 2012 and has this problem, you no longer have to edit any files.

    All you have to do now is go to qTranslate language settings -> “Advanced Options” -> “Date / Time Conversion” -> “Use strftime instead of date and replace formats with the predefined formats for each language.”

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.