@magic-xpa/gui 4.900.0-dev490.36 → 4.900.0-dev490.39

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.
@@ -5641,7 +5641,7 @@ class DisplayConvertor {
5641
5641
  {
5642
5642
  this.int_2_a(outVal, outIdx, 2, breakParams.year, '0');
5643
5643
  let yearStr = NString.FromChars(outVal, outIdx, 2);
5644
- year = +yearStr.substr(outIdx);
5644
+ year = +yearStr;
5645
5645
  outIdx += 2;
5646
5646
  len -= 2;
5647
5647
  }
@@ -5649,7 +5649,7 @@ class DisplayConvertor {
5649
5649
  case PICInterface.PIC_YYYY:
5650
5650
  this.int_2_a(outVal, outIdx, 4, breakParams.year, '0');
5651
5651
  let yearStr = NString.FromChars(outVal, outIdx, 4);
5652
- year = +yearStr.substr(outIdx);
5652
+ year = +yearStr;
5653
5653
  outIdx += 4;
5654
5654
  len -= 4;
5655
5655
  break;