Changeset 1150 for trunk/wp-blog-header.php
- Timestamp:
- 04/24/2004 09:52:24 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-blog-header.php
r1108 r1150 111 111 $what_to_show = get_settings('what_to_show'); 112 112 $archive_mode = get_settings('archive_mode'); 113 $time_difference = get_settings('time_difference');114 113 $use_gzipcompression = get_settings('gzipcompression'); 115 114 … … 130 129 } 131 130 132 $add_hours = intval( $time_difference);133 $add_minutes = intval(60 * ( $time_difference- $add_hours));131 $add_hours = intval(get_settings('gmt_offset')); 132 $add_minutes = intval(60 * (get_settings('gmt_offset') - $add_hours)); 134 133 $wp_posts_post_date_field = "post_date"; // "DATE_ADD(post_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"; 135 134
Note: See TracChangeset
for help on using the changeset viewer.