Skip to content

Commit f2e5310

Browse files
authored
Merge branch 'v2_release' into v2_develop
2 parents fa0085d + 9825cb6 commit f2e5310

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

UnitTests/Views/DateFieldTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ public void Typing_With_Selection_Normalize_Format ()
175175
[Fact]
176176
public void Using_All_Culture_StandardizeDateFormat ()
177177
{
178+
// BUGBUG: This is a workaround for the issue with the date separator in macOS. See https://github.com/gui-cs/Terminal.Gui/issues/3592
179+
if (RuntimeInformation.IsOSPlatform (OSPlatform.OSX))
180+
{
181+
return;
182+
}
183+
178184
CultureInfo cultureBackup = CultureInfo.CurrentCulture;
179185

180186
DateTime date = DateTime.Parse ("1/1/1971");
@@ -193,6 +199,7 @@ public void Using_All_Culture_StandardizeDateFormat ()
193199
separator = " ";
194200
}
195201

202+
196203
string format = culture.DateTimeFormat.ShortDatePattern;
197204
var df = new DateField (date);
198205

0 commit comments

Comments
 (0)