From a507f7e8fb3eea2cd3ea3f4bbbafcab8545d3c1a Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 14 Feb 2023 13:17:56 +0100 Subject: [PATCH] fix(boot_date): Date.vnUTC return new Date() --- loopback/server/boot/date.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopback/server/boot/date.js b/loopback/server/boot/date.js index 0875b6d5f..810745562 100644 --- a/loopback/server/boot/date.js +++ b/loopback/server/boot/date.js @@ -4,7 +4,7 @@ module.exports = () => { if (!env || env === 'development') return new Date(Date.UTC(2001, 0, 1, 11)); - return new Date(Date.UTC()); + return new Date(); }; Date.vnNew = () => {