[wp-trac] [WordPress Trac] #20942: get_gmt_from_date() throws exceptions

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 22 19:14:19 UTC 2012


#20942: get_gmt_from_date() throws exceptions
------------------------------------+------------------
 Reporter:  mdawaffe                |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.5
Component:  Date/Time               |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------
Changes (by wonderboymusic):

 * keywords:  needs-patch => has-patch dev-feedback


Comment:

 Refreshed the patch - caveat: every place that uses this in core expects a
 date to be returned and possible filtered. Also have to respect the
 'format' arg. I accomplish this by returning {{{date( $format, 0 )}}}.

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


More information about the wp-trac mailing list