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:
rboren 2004-11-29 20:32:25 +00:00
parent 7fe73226cd
commit 53b443aa09
1 changed files with 2 additions and 2 deletions

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") ?>