[wp-trac] [WordPress Trac] #10397: Start of week and WEEK mysql date function

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 25 09:51:31 UTC 2009


#10397: Start of week and WEEK mysql date function
------------------------------------------+---------------------------------
 Reporter:  arena                         |        Type:  defect (bug)
   Status:  new                           |    Priority:  normal      
Milestone:  2.9.1                         |   Component:  Date/Time   
  Version:  2.9                           |    Severity:  critical    
 Keywords:  has-patch tested dev-feedack  |  
------------------------------------------+---------------------------------

Comment(by arena):

 @hackre

 The point of this ticket is that get_option('start_of_week') can retrieve
 a value of 0 to 6 (Sunday to Saturday).

 WEEK(post_date, $start_of_week) only accept following values :
 [[Image(/raw-attachment/ticket/10397/OnTheFly018.jpg)]]

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


More information about the wp-trac mailing list