Skip to content

Commit dc6df1b

Browse files
Copilottarekgh
andcommitted
Update ShortestDayNames example output to match current runtime behavior
Co-authored-by: tarekgh <10833894+tarekgh@users.noreply.github.com>
1 parent fde907a commit dc6df1b

File tree

2 files changed

+16
-16
lines changed
  • snippets
    • csharp/System.Globalization/DateTimeFormatInfo/GetShortestDayName
    • visualbasic/System.Globalization/DateTimeFormatInfo/GetShortestDayName

2 files changed

+16
-16
lines changed

snippets/csharp/System.Globalization/DateTimeFormatInfo/GetShortestDayName/dtfi1.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@ This code example uses the en-US culture.
103103
""
104104
105105
ShortestDayNames...
106-
"S"
107-
"M"
108-
"T"
109-
"W"
110-
"T"
111-
"F"
112-
"S"
106+
"Su"
107+
"Mo"
108+
"Tu"
109+
"We"
110+
"Th"
111+
"Fr"
112+
"Sa"
113113
114114
GetShortestDayName(DayOfWeek.Sunday)...
115-
"S"
115+
"Su"
116116
117117
Initial DateTime format patterns for the 'd' format specifier...
118118
"M/d/yyyy"

snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetShortestDayName/dtfi1.vb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ Class Sample
9797
'""
9898
'
9999
'ShortestDayNames...
100-
'"S"
101-
'"M"
102-
'"T"
103-
'"W"
104-
'"T"
105-
'"F"
106-
'"S"
100+
'"Su"
101+
'"Mo"
102+
'"Tu"
103+
'"We"
104+
'"Th"
105+
'"Fr"
106+
'"Sa"
107107
'
108108
'GetShortestDayName(DayOfWeek.Sunday)...
109-
'"S"
109+
'"Su"
110110
'
111111
'Initial DateTime format patterns for the 'd' format specifier...
112112
'"M/d/yyyy"

0 commit comments

Comments
 (0)