Skip to content

Commit 4fe3efa

Browse files
authored
Merge pull request #44 from UrosPurtic/master
Fix for DEPRECATED: Implicit conversion from float to int loses preci…
2 parents dcc98d8 + a55ce19 commit 4fe3efa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TimestampValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function getValue()
5353
*/
5454
public function getFormatted($format = 'Y-m-d')
5555
{
56-
return date($format, $this->value);
56+
return date($format, (int)$this->value);
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)