mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 20:46:24 +00:00
Fixing whitespacing.
This commit is contained in:
parent
c874d98195
commit
41bdc48fd3
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ class TimeHelper extends AppHelper {
|
||||||
}
|
}
|
||||||
$now = time();
|
$now = time();
|
||||||
if (!is_null($userOffset)) {
|
if (!is_null($userOffset)) {
|
||||||
$now = $this->convert(time(), $userOffset);
|
$now = $this->convert(time(), $userOffset);
|
||||||
}
|
}
|
||||||
$inSeconds = $this->fromString($dateTime, $userOffset);
|
$inSeconds = $this->fromString($dateTime, $userOffset);
|
||||||
$backwards = ($inSeconds > $now);
|
$backwards = ($inSeconds > $now);
|
||||||
|
|
Loading…
Add table
Reference in a new issue