[wp-trac] [WordPress Trac] #11596: hours not tested in post.dev.js

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 24 22:16:28 UTC 2009


#11596: hours not tested in post.dev.js
----------------------------+-----------------------------------------------
 Reporter:  arena           |        Owner:         
     Type:  defect (bug)    |       Status:  closed 
 Priority:  normal          |    Milestone:  2.9.1  
Component:  Administration  |      Version:  2.9    
 Severity:  normal          |   Resolution:  invalid
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by azaozz):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 This is meant to check if a valid date/time was entered when changing
 posts and comments date. The way it work is to convert the date to UNIX
 time, then convert it back and compare. It doesn't need to compare the
 hours as entering > 24 would roll on to the next day (the same doesn't
 work reliably for minutes).

 Feel free to reopen if it lets you set an invalid date/time.

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


More information about the wp-trac mailing list