Make WordPress Core


Ignore:
Timestamp:
03/23/2015 02:13:50 AM (10 years ago)
Author:
dd32
Message:

Remove ambiguity in the time display format in core, switches to using 24hr notation where am/pm isn't specified.

  • H:i - 09:54
  • g:i a - 9:54 am
  • F j, Y - January 3, 2015

These shouldn't be used without a/A (am/AM)

  • h:i - 01:23
  • G:i - 1:23

Props iseulde. Fixes #31121

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-comment.php

    r31776 r31862  
    101101<?php
    102102/* translators: Publish box date format, see http://php.net/date */
    103 $datef = __( 'M j, Y @ G:i' );
     103$datef = __( 'M j, Y @ H:i' );
    104104$stamp = __('Submitted on: <b>%1$s</b>');
    105105$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
Note: See TracChangeset for help on using the changeset viewer.