From 41ac0aca1359a8cdcc92c9beb603c4ea5967a3ef Mon Sep 17 00:00:00 2001 From: Ben Torkington Date: Fri, 11 Mar 2022 13:42:43 +1300 Subject: [PATCH] fix #3653 --- snowpack/src/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowpack/src/logger.ts b/snowpack/src/logger.ts index 05535d0c6a..025ccf103e 100644 --- a/snowpack/src/logger.ts +++ b/snowpack/src/logger.ts @@ -59,7 +59,7 @@ class SnowpackLogger { if (level === 'error') text = colors.red(text); const time = new Date(); const log = `${colors.dim( - `[${String(time.getHours() + 1).padStart(2, '0')}:${String(time.getMinutes() + 1).padStart( + `[${String(time.getHours()).padStart(2, '0')}:${String(time.getMinutes()).padStart( 2, '0', )}:${String(time.getSeconds()).padStart(2, '0')}]`,