@esfaenza/core 19.2.12 → 19.2.14

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.
@@ -1276,8 +1276,9 @@ class AppState {
1276
1276
  dayjs.extend(isSameOrAfter.default || isSameOrAfter);
1277
1277
  dayjs.extend(duration.default || duration);
1278
1278
  dayjs.extend(utc.default || utc);
1279
- // Require e collegamento con la localizzazione per dayjs
1280
- import("dayjs/locale/" + this.lc.SmallLocale + ".js").then(locale => { dayjs.locale(locale); });
1279
+ // Il locale inglese è già installato e di default. Mi occupo di sto cambio solo se il locale è l'italiano
1280
+ if (this.lc.SmallLocale === "it")
1281
+ import('dayjs/locale/it.js').then(locale => { dayjs.locale(locale); });
1281
1282
  }
1282
1283
  setupSignalRJobListening() {
1283
1284
  this.notifications.observe(this.MessageDef.IN_JobProgressNotification).subscribe((ev) => {