diff --git a/modules/core/lib/ImagerySource.js b/modules/core/lib/ImagerySource.js index 6164ad1a17..3a6b6cf83d 100644 --- a/modules/core/lib/ImagerySource.js +++ b/modules/core/lib/ImagerySource.js @@ -228,7 +228,7 @@ export class ImagerySource { const d = new Date(s); if (isNaN(d.getTime())) return null; - const localeCode = this.context.localizationSystem.localeCode(); + const localeCode = this.context.systems.l10n.localeCode(); return d.toLocaleDateString(localeCode, options); }