Uh oh!
There was an error while loading. Please reload this page.
[release/8.0][mono][HybridGlobalization] Fix ShortDatePattern year format to be "yyyy" - #100810
Conversation
Tagging subscribers to this area: @dotnet/area-system-globalization |
matouskozak
commented
Apr 9, 2024
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
jeffschwMSFT
left a comment
There was a problem hiding this comment.
lgtm. we will take for consideration in 8.0.x
jeffschwMSFT
commented
Apr 16, 2024
@vitek-karas can you take a look at the CI failures? |
matouskozak
commented
Apr 17, 2024
Failures are known as the same tests can be found failing on a combination of https://dev.azure.com/dnceng-public/public/_build/results?buildId=642490&view=results, https://dev.azure.com/dnceng-public/public/_build/results?buildId=641494&view=logs&j=12cf7a0b-4da0-5b17-37e7-24aa7cbf9869, or https://dev.azure.com/dnceng-public/public/_build/results?buildId=638193 One exception is |
Took a second look after re-run and all failing tests seem unrelated and are already present on the |
Customer Impact
When using Hybrid Globalization mode on Apple mobile platforms with .NET 8, we are returning
ShortDatePatternin ICU-like format instead of .NET-like format. This PR fixes this by normalizing the short date format returned from Apple ICU and converting "yy" year format to the expected "yyyy"Hybrid Globalization mode in .NET 8 is off by default, so this only affects applications where the developer explicitly opted into using this mode.
NOTE: This is a .NET 8 version of #99908.
Regression
Testing
We added a small set of tests to verify the correct functionality of the fix.
Risk
Low, only affects scenarios where Hybrid Globalization mode on Apple mobile platforms is enabled.
fyi: @vitek-karas@mkhamoyan@ilonatommy@akoeplinger@steveisok