Changeset 10491
- Timestamp:
- 02/03/2009 11:06:17 PM (16 years ago)
- Location:
- branches/2.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-admin/admin-ajax.php
r10262 r10491 724 724 725 725 $data = ''; 726 $message = sprintf( __('Draft Saved at %s.'), date ( __('g:i:s a'), current_time( 'timestamp', true) ) );726 $message = sprintf( __('Draft Saved at %s.'), date_i18n( __('g:i:s a') ) ); 727 727 728 728 $supplemental = array(); -
branches/2.7/wp-includes/functions.php
r10354 r10491 80 80 * The 'timestamp' type will return the current timestamp. 81 81 * 82 * If the $gmt is set to either '1' or 'true', then both types will use the83 * GMT offset in the WordPress option to add the GMT offset to the time.82 * If $gmt is set to either '1' or 'true', then both types will use GMT time. 83 * if $gmt is false, the output is adjusted with the GMT offset in the WordPress option. 84 84 * 85 85 * @since 1.0.0 86 86 * 87 87 * @param string $type Either 'mysql' or 'timestamp'. 88 * @param int|bool $gmt Optional. Whether to use $gmt offset. Default is false.88 * @param int|bool $gmt Optional. Whether to use GMT timezone. Default is false. 89 89 * @return int|string String if $type is 'gmt', int if $type is 'timestamp'. 90 90 */ -
branches/2.7/wp-includes/post-template.php
r10460 r10491 1049 1049 $currentf = __( '%s [Current Revision]' ); 1050 1050 1051 $date = date_i18n( $datef, strtotime( $revision->post_modified _gmt . ' +0000') );1051 $date = date_i18n( $datef, strtotime( $revision->post_modified ) ); 1052 1052 if ( $link && current_user_can( 'edit_post', $revision->ID ) && $link = get_edit_post_link( $revision->ID ) ) 1053 1053 $date = "<a href='$link'>$date</a>";
Note: See TracChangeset
for help on using the changeset viewer.