From 3648f9dd9da6310e51a5dc3dc6b25bb1262e1d19 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 2 May 2023 17:37:02 +0800 Subject: [PATCH] fix(nc-gui): mssql copy n paste issue --- packages/nc-gui/composables/useMultiSelect/convertCellData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/composables/useMultiSelect/convertCellData.ts b/packages/nc-gui/composables/useMultiSelect/convertCellData.ts index 3376aa570b..bbaf0cd9a8 100644 --- a/packages/nc-gui/composables/useMultiSelect/convertCellData.ts +++ b/packages/nc-gui/composables/useMultiSelect/convertCellData.ts @@ -50,7 +50,7 @@ export default function convertCellData( // UTC + 'Z' return parsedDateTime.format('YYYY-MM-DD HH:mm:ss') + 'Z' } else if (isMssql) { - return parsedDateTime.format('YYYY-MM-DD HH:mm:ssZ') + return parsedDateTime.utc().format('YYYY-MM-DD HH:mm:ssZ') } else { return parsedDateTime.utc(true).format('YYYY-MM-DD HH:mm:ssZ') }