WordPress.org

Ready to get started?Download WordPress

Forums

Problem with date %d 31UTC %B 31UTC %Y (2 posts)

  1. tremolon
    Member
    Posted 6 months ago #

    Theme: Pinboard
    I also have the plugin qTranslate. This plugin doesn't work very well with dates.

    My problem is that in the comments, the date appears like this:
    %d 31UTC %B 31UTC %Y a las %H:%M 01Tue, 31 Dec 2013 01:56:04 +000004

    And I'm not the unique in the whole world.

    How can I fix that?

    Thanks!!!

  2. tremolon
    Member
    Posted 6 months ago #

    Hi everybody!
    I can fix my problem with this link
    http://www.senin.org/2012/09/03/wordpress-qtranslate-fecha-malformada-en-comentarios/

    Basically we need edit the comment-template.php in includes with this line:
    printf( __('%s at %s'), get_comment_date('d-M-Y') , get_comment_time('H:i:s')); ?>
    <?php edit_comment_link(__('(Modificar)'),'  ','' );

    Fix it!!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.