Use mysl2date() to create the date format example so that months and days are localized. Bug 504. Patch from nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7fe73226cd
commit
53b443aa09
|
@ -64,7 +64,7 @@ include('admin-header.php');
|
|||
<tr>
|
||||
<th scope="row"><?php _e('Default date format:') ?></th>
|
||||
<td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br />
|
||||
<?php _e('Output:') ?> <strong><?php echo gmdate(get_settings('date_format'), current_time('timestamp')); ?></strong></td>
|
||||
<?php _e('Output:') ?> <strong><?php echo mysql2date(get_settings('date_format'), current_time('mysql')); ?></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('Default time format:') ?></th>
|
||||
|
|
Loading…
Reference in New Issue