Skip to content

Commit

Permalink
Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Sep 27, 2022
1 parent 8c06ea8 commit ec0447b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion user_guide_src/source/database/results/013.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function lastLogin($format)
public function __set($name, $value)
{
if ($name === 'lastLogin') {
$this->lastLogin = DateTime::createFromFormat('U', $value);
$this->lastLogin = DateTime::createFromFormat('!U', $value);
}
}

Expand Down
2 changes: 1 addition & 1 deletion user_guide_src/source/outgoing/response/022.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php

$response->setLastModified(date('D, d M Y H:i:s'));
$response->setLastModified(DateTime::createFromFormat('U', $timestamp));
$response->setLastModified(DateTime::createFromFormat('!U', $timestamp));

0 comments on commit ec0447b

Please sign in to comment.