Skip to content

Commit e6db848

Browse files
Merge branch '6.4' into 7.3
* 6.4: [FrameworkBundle] Normalize workflow places separately [Console] Don’t automatically append EOT to multiline test inputs [Validator] Review Albanian translations [Intl] Remove incorrect condition in CurrencyDataGenerator::icuPairToDate [Config] Fix `GlobResource` pattern with trailing slash
2 parents e107c9b + 0cd11e9 commit e6db848

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Data/Generator/CurrencyDataGenerator.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ private static function icuPairToDate(array $pair): string
232232
// Recompose a 64-bit unsigned integer from two 32-bit chunks.
233233
$unsigned64 = ((($highBits32 & 0xFFFFFFFF) << 32) | ($lowBits32 & 0xFFFFFFFF));
234234

235-
// Convert to signed 64-bit (two's complement) if sign bit is set.
236-
if ($unsigned64 >= (1 << 63)) {
237-
$unsigned64 -= (1 << 64);
238-
}
239-
240235
// Split into seconds and milliseconds.
241236
$seconds = intdiv($unsigned64, 1000);
242237
$millisecondsRemainder = $unsigned64 - $seconds * 1000;

0 commit comments

Comments
 (0)