WordPress.org

Forums

How to change time from 12-hour to 24-hour on comment form (3 posts)

  1. copymaker
    Member
    Posted 3 years ago #

    Hi

    I have the next question:

    When the comment is published - above of it there is a date and time of publication.
    I need to change there time from 12-hour to 24-hour

    I tried to change this in this file wp-includes/comment-template.php but nothing changed

    Thanks for your help!

    Regards, Constantine

  2. Maggew Dot Com
    Member
    Posted 3 years ago #

    Have you checked out the Format Date & Time Codex?

    Scroll to time box, pick a 24-hour format. Some format options are "G" or "H".

  3. Michael
    Forum Moderator
    Posted 3 years ago #

    tried to change this in this file wp-includes/comment-template

    don't edit wp core files.

    what are your settings under:

    dashboard - settings - general - Time Format

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.