Better link for date formatting, fixes #1419

git-svn-id: http://svn.automattic.com/wordpress/trunk@3050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-11-11 02:19:49 +00:00
parent 62b08c17be
commit 005605d6b9
1 changed files with 4 additions and 4 deletions

View File

@ -73,10 +73,6 @@ foreach($wp_roles->role_names as $role => $name) {
<?php _e('hours') ?> </td> <?php _e('hours') ?> </td>
</tr> </tr>
<tr> <tr>
<th scope="row">&nbsp;</th>
<td><?php _e('The following use the same syntax as the <a href="http://php.net/date">PHP <code>date()</code> function</a>. Save option to update sample output.') ?> </td>
</tr>
<tr>
<th scope="row"><?php _e('Default date format:') ?></th> <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 /> <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 mysql2date(get_settings('date_format'), current_time('mysql')); ?></strong></td> <?php _e('Output:') ?> <strong><?php echo mysql2date(get_settings('date_format'), current_time('mysql')); ?></strong></td>
@ -87,6 +83,10 @@ foreach($wp_roles->role_names as $role => $name) {
<?php _e('Output:') ?> <strong><?php echo gmdate(get_settings('time_format'), current_time('timestamp')); ?></strong></td> <?php _e('Output:') ?> <strong><?php echo gmdate(get_settings('time_format'), current_time('timestamp')); ?></strong></td>
</tr> </tr>
<tr> <tr>
<th scope="row">&nbsp;</th>
<td><?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Save option to update sample output.') ?> </td>
</tr>
<tr>
<th scope="row"><?php _e('Weeks in the calendar should start on:') ?></th> <th scope="row"><?php _e('Weeks in the calendar should start on:') ?></th>
<td><select name="start_of_week" id="start_of_week"> <td><select name="start_of_week" id="start_of_week">
<?php <?php