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;