diff options
Diffstat (limited to 'plugins/CoreHome/Columns/VisitFirstActionTime.php')
-rw-r--r-- | plugins/CoreHome/Columns/VisitFirstActionTime.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CoreHome/Columns/VisitFirstActionTime.php b/plugins/CoreHome/Columns/VisitFirstActionTime.php index 92b6619fed..3985d53339 100644 --- a/plugins/CoreHome/Columns/VisitFirstActionTime.php +++ b/plugins/CoreHome/Columns/VisitFirstActionTime.php @@ -8,6 +8,7 @@ */ namespace Piwik\Plugins\CoreHome\Columns; +use Piwik\Date; use Piwik\Plugin\Dimension\VisitDimension; use Piwik\Tracker\Action; use Piwik\Tracker\Request; @@ -27,6 +28,6 @@ class VisitFirstActionTime extends VisitDimension */ public function onNewVisit(Request $request, Visitor $visitor, $action) { - return Tracker::getDatetimeFromTimestamp($request->getCurrentTimestamp()); + return Date::getDatetimeFromTimestamp($request->getCurrentTimestamp()); } }
\ No newline at end of file |