Make WordPress Core

Changeset 3633


Ignore:
Timestamp:
03/07/2006 09:24:49 PM (19 years ago)
Author:
ryan
Message:

Don't add UTC offset again when formatting 'U' in mysql2date. Props masquerade. fixes #2537

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r3610 r3633  
    2424    $i = mktime(substr($m,11,2),substr($m,14,2),substr($m,17,2),substr($m,5,2),substr($m,8,2),substr($m,0,4));
    2525
     26    if( 'U' == $dateformatstring )
     27        return $i;
     28   
    2629    if ( -1 == $i || false == $i )
    2730        $i = 0;
Note: See TracChangeset for help on using the changeset viewer.