fix(date): format dates using UTC time zone (#15)

This commit is contained in:
Phil Chu 2022-09-25 16:14:17 -07:00 committed by GitHub
parent 2efb0873f2
commit d2ab1c7a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ Handlebars.registerHelper('formatDate', dateString =>
new Date(dateString).toLocaleDateString('en', { new Date(dateString).toLocaleDateString('en', {
month: 'short', month: 'short',
year: 'numeric', year: 'numeric',
timeZone: 'UTC',
}), }),
) )