[wp-trac] [WordPress Trac] #8885: get_posts() should default orderby post_date_gmt

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 27 23:30:08 UTC 2011


#8885: get_posts() should default orderby post_date_gmt
--------------------------+-----------------------------
 Reporter:  caorongjin    |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Optimization  |     Version:  2.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by Viper007Bond):

 Replying to [comment:18 Denis-de-Bernardy]:
 > - post_date_gmt should contain the UTC time without any daylight savings
 or other adjustments. The raw stuff.

 That's how it currently is. GMT is unaffected by DST. For all intents and
 purposes, GMT+0 == UTC.

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


More information about the wp-trac mailing list