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

git-svn-id: https://develop.svn.wordpress.org/trunk@1903 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-11-29 20:32:25 +00:00
parent bf1835606e
commit ecde1fcfb6

View File

@ -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>
@ -92,4 +92,4 @@ endfor;
</p>
</form>
</div>
<?php include("admin-footer.php") ?>
<?php include("admin-footer.php") ?>