- Notifications
You must be signed in to change notification settings - Fork1.6k
Add missing exception documentation for DateTime.TryParseExact#11513
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…teTime.TryParseExact
@dotnet-policy-service agree |
@tarekgh tagging you as requested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM!
Thanks@casuffitsharp
tarekgh commentedJun 26, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@gewarren do you want to have a quick look at this one before I merge it? Also, do you know why the preview page is not generated to look at the visuals of the change? |
gewarren left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@gewarren should the preview be accessible for us too? Just to confirm, because I can't access (requires login) |
a150563
intodotnet:mainUh oh!
There was an error while loading.Please reload this page.
Summary
This PR adds missing exception documentation to DateTime.TryParseExact to reflect its actual behavior.
The new FormatException text is based on the description from DateTime.ToString(format) for consistency with the existing API documentation.
Fixes#10886