Make WordPress Core


Ignore:
Timestamp:
11/29/2004 08:32:25 PM (20 years ago)
Author:
rboren
Message:

Use mysl2date() to create the date format example so that months and days are localized. Bug 504. Patch from nbachiyski.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r1818 r1903  
    6565        <th scope="row"><?php _e('Default date format:') ?></th>
    6666        <td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br />
    67 <?php _e('Output:') ?> <strong><?php echo gmdate(get_settings('date_format'), current_time('timestamp')); ?></strong></td>
     67<?php _e('Output:') ?> <strong><?php echo mysql2date(get_settings('date_format'), current_time('mysql')); ?></strong></td>
    6868        </tr>
    6969      <tr>
Note: See TracChangeset for help on using the changeset viewer.