Better link for date formatting, fixes #1419
git-svn-id: https://develop.svn.wordpress.org/trunk@3050 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f5ce936f25
commit
7b012be984
@ -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"> </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"> </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
|
||||||
|
Loading…
Reference in New Issue
Block a user