[wp-trac] [WordPress Trac] #9285: Ensuring scheduled posts publish on time.

WordPress Trac wp-trac at lists.automattic.com
Tue May 4 03:54:03 UTC 2010


#9285: Ensuring scheduled posts publish on time.
--------------------------+-------------------------------------------------
 Reporter:  hailin        |       Owner:  westi          
     Type:  defect (bug)  |      Status:  assigned       
 Priority:  normal        |   Milestone:  3.0            
Component:  Date/Time     |     Version:  2.8            
 Severity:  normal        |    Keywords:  has-patch early
--------------------------+-------------------------------------------------

Comment(by solarissmoke):

 Replying to [comment:36 technosailor]:
 > The problem still exists. Revision times are proper but the post times
 itself are not. Agreed on combining get_gmt_from_date() and get-
 date_from_gmt().

 No, I think you misunderstood me about the two functions. You can't
 replace get_date_from_gmt() with get_gmt_from_date() - they do different
 things. If you look at the original functions you see that one subtracts
 the gmt offset and the other adds it - what I was trying to do was to get
 them to do so with the datetime functions. They are not identical and
 cannot be merged.

 Since there is a rush, maybe best to stick with 9285-3 which you had
 tested and work the rest out later.

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


More information about the wp-trac mailing list