From d2ab1c7a963595c58c9d513cf410b5f88ec24efc Mon Sep 17 00:00:00 2001 From: Phil Chu Date: Sun, 25 Sep 2022 16:14:17 -0700 Subject: [PATCH] fix(date): format dates using UTC time zone (#15) --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 696c8c5..e9ead99 100644 --- a/index.js +++ b/index.js @@ -33,6 +33,7 @@ Handlebars.registerHelper('formatDate', dateString => new Date(dateString).toLocaleDateString('en', { month: 'short', year: 'numeric', + timeZone: 'UTC', }), )