mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Trim date in Service.getTime
Signed-off-by: Celestora <kitsuruko@gmail.com>
This commit is contained in:
parent
d185e65a78
commit
d65d747ad3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class Service implements Handler
|
||||||
|
|
||||||
function getTime(callable $resolve, callable $reject): void
|
function getTime(callable $resolve, callable $reject): void
|
||||||
{
|
{
|
||||||
$resolve((new DateTime)->format("%e %B %G" . tr("time_at_sp") . "%X"));
|
$resolve(trim((new DateTime)->format("%e %B %G" . tr("time_at_sp") . "%X")));
|
||||||
}
|
}
|
||||||
|
|
||||||
function getServerVersion(callable $resolve, callable $reject): void
|
function getServerVersion(callable $resolve, callable $reject): void
|
||||||
|
|
Loading…
Reference in a new issue