Opened 10 years ago
Closed 7 years ago
#37411 closed defect (bug) (fixed)
Add more formats to wp_maybe_decline_date()
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | Date/Time | Version: | 4.4 |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description (last modified by )
In some themes, date format is not localized (see an example in Sadakalo theme).
Formats like 'F jS Y' don't make a lot of sense for languages with declensions, which generally use 'j F Y' (where F requires genitive case).
We could improve the situation by adding more formats to wp_maybe_decline_date() introduced in #11226.
Attachments (2)
Change History (19)
This ticket was mentioned in Slack in #core by helen. View the logs.
10 years ago
#5
@
10 years ago
- Keywords 4.7-early removed
- Milestone Awaiting Review → 4.7
- Owner set to
- Status new → accepted
This ticket was mentioned in Slack in #core by desrosj. View the logs.
10 years ago
#8
@
10 years ago
- Keywords needs-testing added; needs-unit-tests removed
@SergeyBiryukov This looks like it just needs testing?
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
10 years ago
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
10 years ago
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
10 years ago
#13
@
10 years ago
- Milestone 4.7 → Future Release
No activity, punting. If it's a bug we need to fix for 4.7 (it feels more like an enhancement in some ways), you know how to bring it back.
#16
@
7 years ago
- Keywords has-unit-tests added; needs-testing needs-unit-tests removed
Added unit test cases.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
j F, Yshould be handled as well.