Skip to content

Commit

Permalink
Fix Esri World Imagery source data fetching by fixing incorrect l10n …
Browse files Browse the repository at this point in the history
…system call.
  • Loading branch information
Bonkles committed Nov 16, 2023
1 parent 6a8223c commit a80cd5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/lib/ImagerySource.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a80cd5f

Please sign in to comment.