Skip to content

Commit ec0447b

Browse files
committed
Apply fixes
1 parent 8c06ea8 commit ec0447b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

user_guide_src/source/database/results/013.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function lastLogin($format)
1616
public function __set($name, $value)
1717
{
1818
if ($name === 'lastLogin') {
19-
$this->lastLogin = DateTime::createFromFormat('U', $value);
19+
$this->lastLogin = DateTime::createFromFormat('!U', $value);
2020
}
2121
}
2222

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
22

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

0 commit comments

Comments
 (0)