diff --git a/src/components/fb/LockdateForm.test.tsx b/src/components/fb/LockdateForm.test.tsx index 5360b815..f66db21d 100644 --- a/src/components/fb/LockdateForm.test.tsx +++ b/src/components/fb/LockdateForm.test.tsx @@ -117,7 +117,7 @@ describe('', () => { }) }) - describe('_selectableMonth', () => { + describe('_selectableMonths', () => { const yearsRange = fb.toYearsRange(0, 2) const january2009 = new Date(Date.UTC(2009, 0)) diff --git a/src/components/fb/LockdateForm.tsx b/src/components/fb/LockdateForm.tsx index 506536c9..cd961f7f 100644 --- a/src/components/fb/LockdateForm.tsx +++ b/src/components/fb/LockdateForm.tsx @@ -4,7 +4,7 @@ import { Trans, useTranslation } from 'react-i18next' import * as Api from '../../libs/JmWalletApi' import * as fb from './utils' -const monthFormatter = (locales: string) => new Intl.DateTimeFormat(locales, { month: 'long' }) +const monthFormatter = (locales: string) => new Intl.DateTimeFormat(locales, { month: 'long', timeZone: 'UTC' }) const DEFAULT_MONTH_FORMATTER = monthFormatter('en-US')