[wp-trac] [WordPress Trac] #46627: is_new_day uses a week compare

WordPress Trac noreply at wordpress.org
Sun Mar 24 16:48:22 UTC 2019


#46627: is_new_day uses a week compare
-------------------------------------------------+-------------------------
 Reporter:  pbearne                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Date/Time                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests dev-feedback has-     |     Focuses:
  patch                                          |
-------------------------------------------------+-------------------------

Comment (by pbearne):

 If it, not felt that we should "fix" the function I have attached a unit
 test for the current code

 part of my ongoing project to add unit tests for all function in
 functions.php :-)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46627#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list