Before you ask please READ THIS

%d/%m/%y date in the blog

edited July 2013 in Beach Please Posts: 13
Hello,

I have a issue with correct displaying date in the blog all posts and blog post single header.

Should be present correct date of post and I have %d/%m/%y in polish language and %A %B %e%q, %Y in english language. I'm using qtranslate. When qtranslate is off correct date is present.

Please let me know where I can find solution for this case? In other templates all dates looks good.

Regards,
Sebastian

Comments

  • AirAir
    Posts: 10,970
    Hello

    Could you share link where I could see wrong behaviour?

    This theme uses standard wordpress date functions, so when you set date format in wordpress panel it should be OK.

    Are all dates displayed wrong?
    Do you have any cache plugin activated?

    With regards.
  • Posts: 13
    I have disabled cache plugin but it didn't have impact on this case. Date format I was setting in default.
    site behaiour www.asmmedia.com/blog
  • AirAir
    edited July 2013 Posts: 10,970
    Sorry but your link doesn't show your page, I only see 'page under construction'.
    Once again: Are all dates displayed wrong?
    I mean by that: in blog page, in post, in comments, in widgets. Or maybe only it is wrong in one place.

    You also said
    Sebastian said: In other templates all dates looks good.
    In what template for example? Twenty Eleven Theme?

    With regards.
    Post edited by Air on
  • Posts: 13
    Take a look on the link again. I put my site on. It's looking wrong on blog entires.
  • AirAir
    Posts: 10,970
    OK I see. I found similar issue http://maian.org/blog/2010/08/date-formatting-not-working-after-installing-qtranslate/
    Maybe it will solve your problem. If not please answer all questions from my previous post, it will help me help you.

    Thanks:-)

    With regards.
  • Posts: 13
    "Once again: Are all dates displayed wrong?
    I mean by that: in blog page, in post, in comments, in widgets. Or maybe only it is wrong in one place."
    Answers: all data formats are wrong.
    - in blog page,
    - in post,
    - comments are off (I used facebook comments,
    - even in images like here: http://www.asmmedia.com/home/mg_3826-edit-edit-2

    Good date is in facebook widget because all data are comming from facebook.

    I used vernissage theme with qtranslate and everythings with date was ok.

  • Posts: 13

    SOLVED:

    For all other users with the same issue:
    go to qtranslate configuration menu, expand advenced settings and find conversion date and time position.
    Then change to: Use function strftime instead date.

    Regards,

    Sebastian

  • AirAir
    Posts: 10,970
    Wow, great!
    Thanks for tip, it will for sure be helpful!

    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion