-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Current thread culture -> current culture #7410
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
Conversation
samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString1.vb
Outdated
Show resolved
Hide resolved
samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString1.vb
Outdated
Show resolved
Hide resolved
tarekgh
left a comment
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.
I left some little comments. LGTM otherwise. Thanks a lot for getting this cleaned up!
This comment has been minimized.
This comment has been minimized.
BillWagner
left a comment
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.
This comment has been minimized.
This comment has been minimized.
|
Docs Build status updates of commit 3ec0ea0:
|
| File | Status | Preview URL | Details |
|---|---|---|---|
| xml/System/DateTime.xml | View | Details | |
| samples/snippets/csharp/VS_Snippets_CLR_System/system.DateTime.ToString/cs/ToString1.cs | ✅Succeeded | View | |
| samples/snippets/csharp/VS_Snippets_CLR_System/system.DateTime.ToString/cs/ToString2.cs | ✅Succeeded | View | |
| samples/snippets/csharp/VS_Snippets_CLR_System/system.DateTime.ToString/cs/ToString4.cs | ✅Succeeded | View | |
| samples/snippets/csharp/VS_Snippets_CLR_System/system.DateTime.ToString/cs/tostring.csproj | ✅Succeeded | ||
| samples/snippets/csharp/VS_Snippets_CLR_System/system.DateTime.ToString/cs/tostring3.cs | ✅Succeeded | View | |
| samples/snippets/csharp/VS_Snippets_CLR_System/system.DateTime.ToString/cs/tostring5.cs | ✅Succeeded | View | |
| samples/snippets/csharp/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/CS/currentculture.cs | ✅Succeeded | View | |
| samples/snippets/csharp/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/CS/currentculture.csproj | ✅Succeeded | ||
| samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString1.vb | ✅Succeeded | View | |
| samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString2.vb | ✅Succeeded | View | |
| samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString4.vb | ✅Succeeded | View | |
| samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring.vbproj | ✅Succeeded | ||
| samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring3.vb | ✅Succeeded | View | |
| samples/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring5.vb | ✅Succeeded | View | |
| samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/VB/currentculture.vb | ✅Succeeded | View | |
| samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/VB/currentculture.vbproj | ✅Succeeded | ||
| xml/System.Globalization/CultureAndRegionInfoBuilder.xml | ✅Succeeded | View | |
| xml/System.Globalization/CultureInfo.xml | ✅Succeeded | View | |
| xml/System.Globalization/DateTimeFormatInfo.xml | ✅Succeeded | View | |
| xml/System.Globalization/HebrewCalendar.xml | ✅Succeeded | View | |
| xml/System.Globalization/NumberFormatInfo.xml | ✅Succeeded | View | |
| xml/System.Numerics/Vector2.xml | ✅Succeeded | View | |
| xml/System.Numerics/Vector3.xml | ✅Succeeded | View | |
| xml/System.Numerics/Vector4.xml | ✅Succeeded | View | |
| xml/System.Numerics/Vector`1.xml | ✅Succeeded | View | |
| xml/System/Convert.xml | ✅Succeeded | View | |
| xml/System/Double.xml | ✅Succeeded | View | |
| xml/System/FormatException.xml | ✅Succeeded | View |
xml/System/DateTime.xml
- Line 0, Column 0: [Warning: invalid-code]
It looks like your code snippet was not rendered. Try range instead.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
- Try searching the docs.microsoft.com contributor guides
- Post your question in the Docs support channel
|
Close/reopen to build with latest commit. |
|
Docs Build status updates of commit eaefd65: ✅ Validation status: passed
For more details, please refer to the build report. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. For any questions, please:
|
I changed all instances of the phrase "current thread culture" to "current culture", except in this section: https://docs.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo?view=net-6.0#Threads.
In most cases, I didn't update code snippets to call CultureInfo.CurrentCulture instead of Thread.CurrentThread.CurrentCulture. I added project files for the snippets I did update, which meant I had to uniquify class and method names.
Fixes #7331.