@magic-xpa/gui 4.900.0-dev490.28 → 4.900.0-dev490.33
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.
|
@@ -5647,24 +5647,15 @@ class DisplayConvertor {
|
|
|
5647
5647
|
case PICInterface.PIC_YY:
|
|
5648
5648
|
{
|
|
5649
5649
|
this.int_2_a(outVal, outIdx, 2, breakParams.year, '0');
|
|
5650
|
-
let yearStr = NString.FromChars(outVal);
|
|
5651
|
-
year = +yearStr.substr(outIdx);
|
|
5652
|
-
outIdx += 2;
|
|
5653
|
-
len -= 2;
|
|
5654
|
-
}
|
|
5655
|
-
break;
|
|
5656
|
-
case PICInterface.PIC_YY:
|
|
5657
|
-
{
|
|
5658
|
-
this.int_2_a(outVal, outIdx, 2, breakParams.year, '0');
|
|
5659
|
-
let yearStr = NString.FromChars(outVal);
|
|
5650
|
+
let yearStr = NString.FromChars(outVal, outIdx, 2);
|
|
5660
5651
|
year = +yearStr.substr(outIdx);
|
|
5661
5652
|
outIdx += 2;
|
|
5662
5653
|
len -= 2;
|
|
5663
5654
|
}
|
|
5664
5655
|
break;
|
|
5665
5656
|
case PICInterface.PIC_YYYY:
|
|
5666
|
-
this.int_2_a(outVal, outIdx, 4, year, '0');
|
|
5667
|
-
let yearStr = NString.FromChars(outVal);
|
|
5657
|
+
this.int_2_a(outVal, outIdx, 4, breakParams.year, '0');
|
|
5658
|
+
let yearStr = NString.FromChars(outVal, outIdx, 4);
|
|
5668
5659
|
year = +yearStr.substr(outIdx);
|
|
5669
5660
|
outIdx += 4;
|
|
5670
5661
|
len -= 4;
|