@brightspace-ui/intl 3.30.0 → 3.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_timeZones/mapper.js +2 -2
- package/package.json +1 -1
package/lib/_timeZones/mapper.js
CHANGED
|
@@ -172,12 +172,12 @@ export class TimeZoneMapper {
|
|
|
172
172
|
* @param {string} basePath - Base path to the timeZone mappings directory
|
|
173
173
|
* @returns {Promise<void>}
|
|
174
174
|
*/
|
|
175
|
-
async loadMappings(
|
|
175
|
+
async loadMappings() {
|
|
176
176
|
if (this.loaded) return;
|
|
177
177
|
|
|
178
178
|
try {
|
|
179
179
|
for (const moduleName of this.modules) {
|
|
180
|
-
const module = await import(
|
|
180
|
+
const module = await import(`./data/${moduleName}.js`);
|
|
181
181
|
const timeZoneData = module.default || module[`${moduleName}TimeZones`];
|
|
182
182
|
|
|
183
183
|
// Merge all timeZone data into the main mappings
|
package/package.json
CHANGED