From 0ae2a9d7b007034118bcd3cc255c22460e204622 Mon Sep 17 00:00:00 2001 From: Sergey Batanov Date: Sat, 9 May 2026 14:36:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B2=D0=B5=D1=80=D0=BD=D0=BE=20?= =?UTF-8?q?=D0=B1=D1=8B=D0=BB=20=D1=83=D0=BA=D0=B0=D0=B7=D0=B0=D0=BD=20?= =?UTF-8?q?=D1=82=D0=B8=D0=BF=20=D0=BF=D1=80=D0=B5=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=94=D0=B0=D1=82=D1=8B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OneScript.Native/Compiler/MethodCompiler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneScript.Native/Compiler/MethodCompiler.cs b/src/OneScript.Native/Compiler/MethodCompiler.cs index 190643ebf..b61dd0985 100644 --- a/src/OneScript.Native/Compiler/MethodCompiler.cs +++ b/src/OneScript.Native/Compiler/MethodCompiler.cs @@ -1310,7 +1310,7 @@ private Expression CreateBuiltInFunctionCall(CallNode node) result = DirectConversionCall(node, typeof(string)); break; case Token.Date: - result = DirectConversionCall(node, typeof(string)); + result = DirectConversionCall(node, typeof(DateTime)); break; case Token.Type: CheckArgumentsCount(node.ArgumentList, 1);