@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.
@@ -5648,7 +5648,7 @@ class DisplayConvertor {
5648
5648
  {
5649
5649
  this.int_2_a(outVal, outIdx, 2, breakParams.year, '0');
5650
5650
  let yearStr = NString.FromChars(outVal, outIdx, 2);
5651
- year = +yearStr.substr(outIdx);
5651
+ year = +yearStr;
5652
5652
  outIdx += 2;
5653
5653
  len -= 2;
5654
5654
  }
@@ -5656,7 +5656,7 @@ class DisplayConvertor {
5656
5656
  case PICInterface.PIC_YYYY:
5657
5657
  this.int_2_a(outVal, outIdx, 4, breakParams.year, '0');
5658
5658
  let yearStr = NString.FromChars(outVal, outIdx, 4);
5659
- year = +yearStr.substr(outIdx);
5659
+ year = +yearStr;
5660
5660
  outIdx += 4;
5661
5661
  len -= 4;
5662
5662
  break;