id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 10397,Start of week and WEEK mysql date function,arena,,"In wp-includes/general-template.php : {{{ $start_of_week = get_option('start_of_week'); $query = ""SELECT DISTINCT WEEK(post_date, $start_of_week) AS `week`, ........ }}} last argument value can lead to malfunction see http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_week ",defect (bug),closed,normal,3.0,Date/Time,2.9,major,fixed,has-patch dev-feedack,,