You appear to be a bot. Output may be restricted
Description
Usage
Tests_WP_Date_Query::test_build_time_query_minute_second();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/date/query.php
Lines:
1 to 11 of 11
public function test_build_time_query_minute_second() { global $wpdb; $q = new WP_Date_Query( array() ); $found = $q->build_time_query( 'post_date', '=', null, 15, 35 ); // $compare value is floating point - use regex to account for // varying precision on different PHP installations $this->assertRegExp( "/DATE_FORMAT\( post_date, '0\.%i%s' \) = 0\.15350*/", $wpdb->remove_placeholder_escape( $found ) ); }