Skip to content

Commit

Permalink
IBX-1090: DateTime for Date test should be in UTC (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou authored Feb 23, 2022
1 parent 8037842 commit 2e7260f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ public function provideFromHashData()
{
$timestamp = 123456;

$dateTime = new DateTime();
$dateTime->setTimestamp($timestamp)->setTime(0, 0, 0);
$dateTime = new DateTime("@{$timestamp}");
$dateTime->setTime(0, 0, 0);

return [
[
Expand Down

0 comments on commit 2e7260f

Please sign in to comment.