From 1079b01fc3a9357ccf5ab3896ef60c68c7a327d1 Mon Sep 17 00:00:00 2001 From: Adarsh Madrecha Date: Mon, 18 Mar 2024 22:28:08 +0530 Subject: [PATCH] added comments --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3a68c44..f86a8e9 100644 --- a/index.js +++ b/index.js @@ -159,7 +159,7 @@ export const unparse = (_input, _config) => { return ''; if (str.constructor === Date) - return JSON.stringify(str).slice(1, 25); + return JSON.stringify(str).slice(1, 25); // slice is to remove quotes and milliseconds from the string returned by JSON.stringify let needsQuotes = false;