Changes between Initial Version and Version 1 of Ticket #41782, comment 1
- Timestamp:
- 09/02/2017 07:04:23 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #41782, comment 1
initial v1 5 5 }}} 6 6 7 It's interesting to see that {{{$datetime}}} in {{{WP_Date_Query::build_mysql_datetime()}}}7 It's interesting to see that {{{$datetime}}} string in {{{WP_Date_Query::build_mysql_datetime()}}} 8 8 9 9 https://github.com/WordPress/WordPress/blob/bbb8d48086b7d10908f4fda673585ee122f2851d/wp-includes/date.php#L856 10 10 11 is matched for 'Y', 'Y-m', 'Y-m-d', 'Y-m-d H:i' but not 'Y-m-d H:i:s' .11 is matched for 'Y', 'Y-m', 'Y-m-d', 'Y-m-d H:i' but not 'Y-m-d H:i:s' before passed on to the {{{gmdate( 'Y-m-d H:i:s', strtotime( $datetime, $now ) )}}} part for non-matches.