Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Live')
-rw-r--r--plugins/Live/Visitor.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php
index e1ab974efd..84f1ef8177 100644
--- a/plugins/Live/Visitor.php
+++ b/plugins/Live/Visitor.php
@@ -398,6 +398,7 @@ class Visitor implements VisitorInterface
// Convert datetimes to the site timezone
$dateTimeVisit = Date::factory($details['serverTimePretty'], $timezone);
$details['serverTimePretty'] = $dateTimeVisit->getLocalized(Piwik::translate('CoreHome_ShortDateFormat') . ' %time%');
+ $details['timestamp'] = $dateTimeVisit->getTimestamp();
}
$visitorDetailsArray['goalConversions'] = count($goalDetails);
return $visitorDetailsArray;