From f02bdffc4c9c14695b5d34b79cebcae72f688939 Mon Sep 17 00:00:00 2001 From: asundukov Date: Mon, 25 Jul 2022 23:09:35 +0300 Subject: [PATCH] fix: function DATEDIF --- src/function/functionImplementation.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/function/functionImplementation.js b/src/function/functionImplementation.js index 2ea9319..73157ee 100644 --- a/src/function/functionImplementation.js +++ b/src/function/functionImplementation.js @@ -12451,9 +12451,8 @@ const functionImplementation = { } try { - luckysheet_getValue(arguments); for (var i = 0; i < arguments.length-1; i++){ - arguments[i] = moment.fromOADate(arguments[i]).format("l"); + arguments[i] = func_methods.getCellDate(arguments[i]); if(!isdatetime(arguments[i])){ return formula.error.v; }