Skip to content

Commit

Permalink
belly button lint?
Browse files Browse the repository at this point in the history
  • Loading branch information
cathysarisky committed Oct 28, 2024
1 parent d1eabc7 commit d095750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghost/email-service/lib/EmailRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ function escapeHtml(unsafe) {
}

function formatDateLong(date, timezone) {
let dateLocale = 'en-gb'
if (!locale || locale == 'en') {
let dateLocale = 'en-gb';
if (!locale || locale === 'en') {
dateLocale = 'en-gb';
}
return DateTime.fromJSDate(date).setZone(timezone).setLocale(dateLocale).toLocaleString({
Expand Down

0 comments on commit d095750

Please sign in to comment.