Changes between Initial Version and Version 1 of Ticket #48934, comment 1
- Timestamp:
- 01/15/2020 04:43:25 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #48934, comment 1
initial v1 1 As previously noted in comment:14:ticket:48606, the current implementation fails on formats like `F y`, where `Май 19` ("May 19" in Russian) is assumed to be 19th day of May and declined, while it's actually the 19th year (as in 2019).1 As previously noted in comment:14:ticket:48606, the current implementation fails on formats like `F y`, where `Май 19` ("May 19" in Russian) is assumed to be the 19th day of May and declined, while it's actually the 19th year (as in 2019). 2 2 3 3 Since `wp_maybe_decline_date()` is no longer just a filter on `date_i18n` and is now called directly from `wp_date()` as a result of [45901], we can pass the date format to it to determine the necessity of replacement, instead of trying to guess the format without any context.