@@ -850,7 +850,7 @@ |
||
| 850 | 850 | $stringValue = $primitiveValue->format(\DateTime::ATOM); |
| 851 | 851 | } else if ($type instanceof StringType && $primitiveValue instanceof \DateInterval) { |
| 852 | 852 | $stringValue = (($primitiveValue->d * 86400) + ($primitiveValue->h * 3600) + ($primitiveValue->i * 60) + $primitiveValue->s) * 1000; |
| 853 | - // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé |
|
| 853 | + // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé |
|
| 854 | 854 | } else if ($type instanceof StringType) { |
| 855 | 855 | $stringValue = mb_convert_encoding($primitiveValue, 'UTF-8'); |
| 856 | 856 | } else { |
@@ -849,7 +849,7 @@ |
||
| 849 | 849 | } else if (($type instanceof DateTime || $type instanceof StringType) && $primitiveValue instanceof \DateTime) { |
| 850 | 850 | $stringValue = $primitiveValue->format(\DateTime::ATOM); |
| 851 | 851 | } else if ($type instanceof StringType && $primitiveValue instanceof \DateInterval) { |
| 852 | - $stringValue = (($primitiveValue->d * 86400) + ($primitiveValue->h * 3600) + ($primitiveValue->i * 60) + $primitiveValue->s) * 1000; |
|
| 852 | + $stringValue = (($primitiveValue->d*86400) + ($primitiveValue->h*3600) + ($primitiveValue->i*60) + $primitiveValue->s)*1000; |
|
| 853 | 853 | // $stringValue = intval($primitiveValue->format('%s'))*1000; // Miliszekundumokkáé |
| 854 | 854 | } else if ($type instanceof StringType) { |
| 855 | 855 | $stringValue = mb_convert_encoding($primitiveValue, 'UTF-8'); |