WordPress.org

Make WordPress Core

Changeset 4351


Ignore:
Timestamp:
10/06/06 11:24:26 (8 years ago)
Author:
markjaquith
Message:

avoid double time offset in calendar. props to priv. fixes #2189

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/template-functions-general.php

    r4241 r4351  
    436436                $thismonth = ''.zeroise(intval(substr($m, 4, 2)), 2); 
    437437    } else { 
    438         $thisyear = gmdate('Y', current_time('timestamp') + get_settings('gmt_offset') * 3600); 
    439         $thismonth = gmdate('m', current_time('timestamp') + get_settings('gmt_offset') * 3600); 
     438        $thisyear = gmdate('Y', current_time('timestamp')); 
     439        $thismonth = gmdate('m', current_time('timestamp')); 
    440440    } 
    441441 
Note: See TracChangeset for help on using the changeset viewer.