From 55dfb8c6a954c8b0c27cfe22060d9597267a979f Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 11 May 2023 17:40:15 +0800 Subject: [PATCH] refactor(nc-gui): add comments --- packages/nc-gui/composables/useMultiSelect/convertCellData.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nc-gui/composables/useMultiSelect/convertCellData.ts b/packages/nc-gui/composables/useMultiSelect/convertCellData.ts index 7fee2febc1..4171c05189 100644 --- a/packages/nc-gui/composables/useMultiSelect/convertCellData.ts +++ b/packages/nc-gui/composables/useMultiSelect/convertCellData.ts @@ -45,6 +45,7 @@ export default function convertCellData( } if (isXcdbBase) { // convert back to utc + // e.g. (mysql) 2023-05-11 12:00:00+00:00 -> 2023-05-11 12:00:00 // e.g. 2023-05-09T19:41:49+08:00 -> 2023-05-09 11:41:49 return parsedDateTime.utc().format(isMysql ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD HH:mm:ssZ') }