[wp-trac] [WordPress Trac] #34277: factory not setup correctly in unit test in test_validate_date_values_should_process_array_value_for_year
WordPress Trac
noreply at wordpress.org
Mon Oct 12 23:39:52 UTC 2015
#34277: factory not setup correctly in unit test in
test_validate_date_values_should_process_array_value_for_year
------------------------------+-----------------------------
Reporter: pbearne | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution: fixed
Keywords: | Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"35091"]:
{{{
#!CommitTicketReference repository="" revision="35091"
Correct the `post_date` format in `WP_Date_Query` tests.
It should be `'Y-m-d H:i:s'` in order to match the regex in
`get_gmt_from_date()` if `'timezone_string'` option is not set.
Props pbearne.
Fixes #34277.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34277#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list