From 7ca0e6bf13a154d597e2d5000cd26931510ae346 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Fri, 24 Jan 2025 11:12:29 +0100 Subject: [PATCH] chore: fix a JSDoc example not always working depending on your timezone --- src/function/string/print.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/function/string/print.js b/src/function/string/print.js index f63eaef686..82ac32df10 100644 --- a/src/function/string/print.js +++ b/src/function/string/print.js @@ -29,7 +29,7 @@ export const createPrint = /* #__PURE__ */ factory(name, dependencies, ({ typed * user: { * name: 'Mary', * }, - * date: new Date(2013, 2, 23).toISOString().substring(0, 10) + * date: '2013-03-23' * }) * * // the following outputs: 'My favorite fruits are apples and bananas !'