-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Some DateTimeTest format tests fail on the upcoming Fedora 39 #84763
Comments
Tagging subscribers to this area: @dotnet/area-system-globalization Issue Details
It's likely there was a regression in #83589 which was not caught in CI. The test failures are from our CI machine. I will reproduce the issue locally and share more information.
|
The problem is in DateTime.TryFormat with runtime/src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeFormat.cs Line 730 in 9aefa9d
|
I had tried to reproduce the issue in a Fedora 38, and a Fedora 39 container yesterday and to my surprise it didn't reproduce.
Thanks for pointing me to the problem.
|
I am able to produce the issue on edora 39. I just used |
Let me try again. I'm using the image from registry.fedoraproject.org/fedora , which has a sha ae8f1aaa5e2b for Fedora 39. |
I just did |
We're using a different image:
I'm going to try building in the Docker Hub image, and see if that reproduces the issue for me as well. |
Maybe you only need to ensure using the latest ICU version in your container
|
I have the same versions for icu. And, the tests don't fail with the Docker Hub image for me either. 🤔 I'm executing the tests by running My env looks like:
My timezone is UTC:
|
Aha, this does it:
|
right, don't keep |
@tarekgh the parser issues occur when a non-breaking space occurs in the format string. The tests fail for What is probably not covered by any tests: what should happen (without (edit:) or is this fully covered by: runtime/src/libraries/System.Runtime/tests/System/DateTimeTests.cs Lines 2021 to 2023 in 33b1869
|
@tmds are you willing to open a PR for it? If not, I'll take care with it. |
I was working on this patch: main...tmds:runtime:parse_nbsp. This fixes the If this looks like the way to go, I'll open up a PR. |
You may use |
Reopen to track fixing the FormatExceptions. |
It's likely there was a regression in #83589 which was not caught in CI.
The test failures are from our CI machine. I will reproduce the issue locally and share more information.
cc @tarekgh @omajid
The text was updated successfully, but these errors were encountered: