Skip to content

Commit 2b95813

Browse files
author
Илья
committed
Remove decimal operation in QueryResult.php
1 parent 9e901e3 commit 2b95813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ protected function fillRows($rows)
195195

196196
case 'TIMESTAMP':
197197
if(is_numeric($value)){
198-
$value = number_format($value*1.0/1000000.0,6,'.','');
198+
$value = number_format($value/1000000,6,'.','');
199199
$date = DateTime::createFromFormat('U.u', $value);
200200
$_row[$column['name']] = $date->format('Y-m-d H:i:s.u');
201201
} else {

0 commit comments

Comments
 (0)