|
@@ -874,7 +874,7 @@ |
|
|
block discarded – undo |
|
874
|
874
|
} else if (($type instanceof DateTime || $type instanceof StringType) && ($primitiveValue instanceof \DateTime || $primitiveValue instanceof \DateTimeImmutable)) { |
|
875
|
875
|
$stringValue = $primitiveValue->format(\DateTime::ATOM); |
|
876
|
876
|
} else if ($type instanceof StringType && $primitiveValue instanceof \DateInterval) { |
|
877
|
|
- $stringValue = (($primitiveValue->d * 86400) + ($primitiveValue->h * 3600) + ($primitiveValue->i * 60) + $primitiveValue->s) * 1000; |
|
|
877
|
+ $stringValue = (($primitiveValue->d*86400) + ($primitiveValue->h*3600) + ($primitiveValue->i*60) + $primitiveValue->s)*1000; |
|
878
|
878
|
// $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé |
|
879
|
879
|
} else if ($type instanceof StringType) { |
|
880
|
880
|
$stringValue = mb_convert_encoding($primitiveValue, 'UTF-8'); |
Please login to merge, or discard this patch.