From 0d37926e9d449c0c7f2eb3b6726782a798697399 Mon Sep 17 00:00:00 2001 From: Ciki Date: Tue, 1 Dec 2015 13:06:19 +0100 Subject: [PATCH] fix NS --- app/presenters/ArrayPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/presenters/ArrayPresenter.php b/app/presenters/ArrayPresenter.php index 5bdf8bf..f49015f 100644 --- a/app/presenters/ArrayPresenter.php +++ b/app/presenters/ArrayPresenter.php @@ -130,7 +130,7 @@ private function getData($cacheKey = 'data') $item['last_login'] = $item['id'] == 4 ? NULL - : new \Nette\DateTime("NOW - {$d}day {$h}hour {$m}minute {$s}second"); + : new \Nette\Utils\DateTime("NOW - {$d}day {$h}hour {$m}minute {$s}second"); $item['allowance'] = rand(10000, 100000) / 10; $item['ok'] = (bool) rand(0, 1);