diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
index f5002a45de..97de19ee8b 100644
--- a/src/wp-includes/functions.php
+++ b/src/wp-includes/functions.php
@@ -7182,16 +7182,16 @@ function _wp_mysql_week( $column ) {
 	$start_of_week = (int) get_option( 'start_of_week' );
 	switch ( $start_of_week ) {
 		case 1:
-			return "WEEK( $column, 1 )";
+			return "WEEK( $column, 3 )";
 		case 2:
 		case 3:
 		case 4:
 		case 5:
 		case 6:
-			return "WEEK( DATE_SUB( $column, INTERVAL $start_of_week DAY ), 0 )";
+			return "WEEK( DATE_SUB( $column, INTERVAL $start_of_week DAY ), 2 )";
 		case 0:
 		default:
-			return "WEEK( $column, 0 )";
+			return "WEEK( $column, 2 )";
 	}
 }
 
diff --git a/tests/phpunit/tests/functions/wpMysqlWeek.php b/tests/phpunit/tests/functions/wpMysqlWeek.php
index 3649ee6c4c..340f614889 100644
--- a/tests/phpunit/tests/functions/wpMysqlWeek.php
+++ b/tests/phpunit/tests/functions/wpMysqlWeek.php
@@ -31,14 +31,14 @@ class Tests_Functions_WpMysqlWeek extends WP_UnitTestCase {
 	 */
 	public function data_wp_mysql_week() {
 		return array(
-			array( '1969-12-25', 0, 'WEEK( col_name, 0 )' ),
-			array( '1969-12-25', 1, 'WEEK( col_name, 1 )' ),
-			array( '1969-12-25', 2, 'WEEK( DATE_SUB( col_name, INTERVAL 2 DAY ), 0 )' ),
-			array( '1969-12-25', 3, 'WEEK( DATE_SUB( col_name, INTERVAL 3 DAY ), 0 )' ),
-			array( '1969-12-25', 4, 'WEEK( DATE_SUB( col_name, INTERVAL 4 DAY ), 0 )' ),
-			array( '1969-12-25', 5, 'WEEK( DATE_SUB( col_name, INTERVAL 5 DAY ), 0 )' ),
-			array( '1969-12-25', 6, 'WEEK( DATE_SUB( col_name, INTERVAL 6 DAY ), 0 )' ),
-			array( '1969-12-25', 9, 'WEEK( col_name, 0 )' ),
+			array( '1969-12-25', 0, 'WEEK( col_name, 2 )' ),
+			array( '1969-12-25', 1, 'WEEK( col_name, 3 )' ),
+			array( '1969-12-25', 2, 'WEEK( DATE_SUB( col_name, INTERVAL 2 DAY ), 2 )' ),
+			array( '1969-12-25', 3, 'WEEK( DATE_SUB( col_name, INTERVAL 3 DAY ), 2 )' ),
+			array( '1969-12-25', 4, 'WEEK( DATE_SUB( col_name, INTERVAL 4 DAY ), 2 )' ),
+			array( '1969-12-25', 5, 'WEEK( DATE_SUB( col_name, INTERVAL 5 DAY ), 2 )' ),
+			array( '1969-12-25', 6, 'WEEK( DATE_SUB( col_name, INTERVAL 6 DAY ), 2 )' ),
+			array( '1969-12-25', 9, 'WEEK( col_name, 2 )' ),
 		);
 	}
 }
diff --git a/tests/phpunit/tests/query/dateQuery.php b/tests/phpunit/tests/query/dateQuery.php
index a43e19f2b6..ab8763b495 100644
--- a/tests/phpunit/tests/query/dateQuery.php
+++ b/tests/phpunit/tests/query/dateQuery.php
@@ -953,8 +953,8 @@ class Tests_Query_DateQuery extends WP_UnitTestCase {
 
 		$this->assertSame( array( $p2 ), wp_list_pluck( $posts, 'ID' ) );
 
-		$this->assertStringContainsString( "WEEK( $wpdb->posts.post_date, 1 ) = 43", $this->q->request );
-		$this->assertStringNotContainsString( "WEEK( $wpdb->posts.post_date, 1 ) = 42", $this->q->request );
+		$this->assertStringContainsString( "WEEK( $wpdb->posts.post_date, 3 ) = 43", $this->q->request );
+		$this->assertStringNotContainsString( "WEEK( $wpdb->posts.post_date, 3 ) = 42", $this->q->request );
 	}
 
 	/**
