@fluxhub/fluxhub-lib 10.0.373 → 10.0.375

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.
@@ -4301,6 +4301,8 @@
4301
4301
  });
4302
4302
  if (this.ruolo_supervisore != "[ZZZ_DIS_CC]")
4303
4303
  this.access_control = true;
4304
+ if (this._appservice.user_lang == null)
4305
+ this._appservice.user_lang = 'it';
4304
4306
  if (this._appservice.user_lang.toLocaleLowerCase() == 'en')
4305
4307
  this.force_en = true;
4306
4308
  };
@@ -8993,15 +8995,13 @@
8993
8995
  if (params.value == null)
8994
8996
  return " ------ ";
8995
8997
  var dt = new Date(params.value);
8996
- if (dt.getFullYear() < 1980)
8998
+ if (dt.getFullYear() == 1900)
8997
8999
  return " ------ ";
8998
- else
8999
- return (_this.uti.pad(dt.getDate(), 2) +
9000
- "/" +
9001
- _this.uti.pad(dt.getMonth() + 1, 2) +
9002
- "/" +
9003
- dt.getFullYear());
9000
+ return _this.uti.datetime2String(dt);
9004
9001
  },
9002
+ cellStyle: function (params) {
9003
+ return { 'text-align': 'center' };
9004
+ }
9005
9005
  },
9006
9006
  ];
9007
9007
  this.m_app = "";