Skip to content

Commit bcb735e

Browse files
authored
Merge pull request #142 from cego/lejo/cast-to-microseconds
Cast to microseconds
2 parents ffa5903 + 27c0a5b commit bcb735e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/RequestInsurance/Casts/CarbonUtc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ public function set($model, $key, $value, $attributes): ?string
5252
}
5353
}
5454

55-
return $value->setTimezone('UTC')->toDateTimeString();
55+
return $value->setTimezone('UTC')->toDateTimeString('microsecond');
5656
}
5757
}

0 commit comments

Comments
 (0)