Skip to content

Commit 7ad6b00

Browse files
remove utc timezone from LocalTime
1 parent 0409499 commit 7ad6b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structures/LocalTime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function nanoseconds(): int
4040

4141
public function __toString(): string
4242
{
43-
return \DateTime::createFromFormat('U.u', bcdiv($this->nanoseconds, 10e8, 6), new \DateTimeZone('UTC'))
43+
return \DateTime::createFromFormat('U.u', bcdiv($this->nanoseconds, 10e8, 6))
4444
->format('H:i:s.u');
4545
}
4646
}

0 commit comments

Comments
 (0)