Skip to content

Commit 06294ba

Browse files
committed
Fix: Test case for none german machines
1 parent c485bdd commit 06294ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NeoLua.Test/Runtime.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public void TestDateTime01()
235235
g.dochunk("print(os.date('Today is %A, in %B'))");
236236

237237
TestResult(g.dochunk("return os.date('%x', 906000490)"), new DateTime(1998, 09, 17).ToString("d"));
238-
TestResult(g.dochunk("return os.date('%d.%m.%Y')"), DateTime.Today.ToString("d"));
238+
TestResult(g.dochunk("return os.date('%d.%m.%Y')"), DateTime.Today.ToString("dd.MM.yyyy"));
239239
g.dochunk("t = os.date('*t');");
240240
var dt = DateTime.Now;
241241
TestResult(g.dochunk("return t.year"), dt.Year);

0 commit comments

Comments
 (0)