Live.getLastVisitsDetails gives few minutes ahead action time(serverTimePretty) in action details.
expected time(serverTimePretty) is when action triggered but it gives the action time(serverTimePretty) by adding 2-3 minutes in time(serverTimePretty) when action triggered.
for example: page view action trigger at 5:00 but it give the time 5:02 or 5:03.
Generally Matomo uses the time on your server. There isn't any time added it.