Uh oh!
There was an error while loading. Please reload this page.
Fix DateOnly and TimeOnly Formatting using interpolated strings - #64398
Conversation
ghost
commented
Jan 27, 2022
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
ghost
commented
Jan 27, 2022
Tagging subscribers to this area: @dotnet/area-system-runtime |
stephentoub
left a comment
There was a problem hiding this comment.
Thanks! It's interesting this doesn't cause any tests to fail. Are we missing direct tests of TryFormat?
We were testing the positive cases only. I added the interpolated string tests which should catch the negative cases. If you think we should add specific negative tests for TryFormat, I can do that. We already testing the not enough destination buffer space here . and here |
stephentoub
commented
Jan 27, 2022
Thanks. Yes, I think we should have those tests for TryFormat. It'd be fine to do those instead of the interpolation ones. |
Uh oh!
There was an error while loading. Please reload this page.
The failures in the CI are tracked by the issue #64389. |
tarekgh
commented
Jan 28, 2022
/backport to release/6.0 |
Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1762869247 |
Fixes#64292