Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EN .NET] Fix Timex to string conversion of english ordinals 11-13 #2896

Merged
merged 1 commit into from
Mar 12, 2022

Conversation

shana
Copy link
Contributor

@shana shana commented Mar 11, 2022

The TimexProperty.ToString() english conversion of DateTime strings returns the wrong ordinal for days 11-13. In English, ordinals 1 through 3 have special suffixes - 1st, 2nd, 3rd - except on 11-13, where the suffixes are 11th, 12th, 13th.

Fixes #2895

The `TimexProperty.ToString()` english conversion of DateTime strings returns the wrong ordinal for days 11-13. In English, ordinals 1 through 3 have special suffixes - 1st, 2nd, 3rd - _except_ on 11-13, where the suffixes are 11th, 12th, 13th.

Fixes microsoft#2895
@tellarin tellarin merged commit 2031a05 into microsoft:master Mar 12, 2022
@shana shana deleted the fixes/2895-fix-ordinal-english branch March 12, 2022 13:46
Conor-Keaney pushed a commit to purecloudlabs/Recognizers-Text that referenced this pull request Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EN .NET] TimexProperty DateTime->string uses the wrong ordinal on days 11-13
2 participants