Make WordPress Core

Changeset 4350


Ignore:
Timestamp:
10/06/2006 11:22:42 AM (19 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r4347 r4350  
    453453                $thismonth = ''.zeroise(intval(substr($m, 4, 2)), 2);
    454454    } else {
    455         $thisyear = gmdate('Y', current_time('timestamp') + get_option('gmt_offset') * 3600);
    456         $thismonth = gmdate('m', current_time('timestamp') + get_option('gmt_offset') * 3600);
     455        $thisyear = gmdate('Y', current_time('timestamp'));
     456        $thismonth = gmdate('m', current_time('timestamp'));
    457457    }
    458458
Note: See TracChangeset for help on using the changeset viewer.