Make WordPress Core

Ticket #26736: includes.patch

File includes.patch, 922 bytes (added by sergej.mueller, 11 years ago)
  • meta-boxes.php

     
    151151</div><!-- .misc-pub-section -->
    152152
    153153<?php
    154 // translators: Publish box date format, see http://php.net/date
    155 $datef = __( 'M j, Y @ G:i' );
     154$datef = sprintf('%s %s', get_option('date_format'), get_option('time_format') );
    156155if ( 0 != $post->ID ) {
    157156        if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
    158157                $stamp = __('Scheduled for: <b>%1$s</b>');
     
    273272
    274273<div id="misc-publishing-actions">
    275274        <?php
    276         // translators: Publish box date format, see http://php.net/date
    277         $datef = __( 'M j, Y @ G:i' );
     275        $datef = sprintf('%s %s', get_option('date_format'), get_option('time_format') );
    278276        $stamp = __('Uploaded on: <b>%1$s</b>');
    279277        $date = date_i18n( $datef, strtotime( $post->post_date ) );
    280278        ?>