[wp-trac] [WordPress Trac] #18361: get_gmt_from_date() returns incorrect time for "0000-00-00 00:00:00"

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 9 18:56:03 UTC 2011


#18361: get_gmt_from_date() returns incorrect time for "0000-00-00 00:00:00"
-----------------------------+------------------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Date/Time        |     Version:
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |
-----------------------------+------------------------------
Changes (by danielbachhuber):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 After looking into this further, I realized $post_date is passed to
 get_gmt_from_date(), not $post_date_gmt with the nonsense date. I'm
 closing this ticket in favor of #18362

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18361#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list