[wp-trac] [WordPress Trac] #6858: Editing timestamp for "today" has
 order reversed somewhere.
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Sun Apr 27 17:57:22 GMT 2008
    
    
  
#6858: Editing timestamp for "today" has order reversed somewhere.
----------------------------+-----------------------------------------------
 Reporter:  yaman666        |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.5.2    
Component:  Administration  |     Version:  2.5.1    
 Severity:  minor           |    Keywords:  timestamp
----------------------------+-----------------------------------------------
 Just upgraded to wordpress 2.5.1, so not sure if this issue existed
 before.
 I created a new post yesterday (26.04), set its timestamp to today (27.04)
 it was not posted, I assumed I had to wait until today.
 Today I saw that it still wasn't posted and when I went to manage posts,
 it listed it as '''11 hours from now''', though it should have been '''11
 hours ago'''. I played around with timestamp and saw that it always adds,
 as if it is taking an absolute value instead of subtracting when timestamp
 is in the past.
 I.e. right now is 12:48. When setting timestamp to 13:15 and looking at
 manage posts list, it says '''27 minutes from now''', so correct - 27
 minutes in the future. However, when I set timestamp to 12:15 and go to
 manage posts it says '''33 minutes from now''' instead of '''33 minutes
 ago'''.
-- 
Ticket URL: <http://trac.wordpress.org/ticket/6858>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list