[wp-trac] [WordPress Trac] #19733: XML-RPC returns invalid dates if the date is zero

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 4 21:08:25 UTC 2012


#19733: XML-RPC returns invalid dates if the date is zero
-----------------------------------------------+------------------
 Reporter:  koke                               |       Owner:
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  3.4
Component:  XML-RPC                            |     Version:  3.3
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch mobile needs-unit-tests  |
-----------------------------------------------+------------------

Comment (by westi):

 I took a look at the last patch and all looks good apart from:

  * _convert_mysql2date is a level of abstraction too far - lets just call
 mysql2date directly.
  * {{{$this-> _convert_date( $date_gmt );}}} - space in this.

 @markoheijnen could you give the patch a refresh to address these?

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


More information about the wp-trac mailing list