diff --git a/src/utils/nice-date-time.js b/src/utils/nice-date-time.js index f1376aab9..a1d5baff4 100644 --- a/src/utils/nice-date-time.js +++ b/src/utils/nice-date-time.js @@ -19,9 +19,9 @@ const _DateTimeFormat = (opts) => { ...formatOpts, }; try { - return Intl.DateTimeFormat(loc, opts); + return Intl.DateTimeFormat(loc, options); } catch (e) { - return Intl.DateTimeFormat(undefined, opts); + return Intl.DateTimeFormat(undefined, options); } }; const DateTimeFormat = mem(_DateTimeFormat);