{{if \IPS\Settings::i()->timeSpent_viewGroups =='all' or \IPS\Member::loggedIn()->inGroup( explode( ',', \IPS\Settings::i()->timeSpent_viewGroups ) )}}
{{$totalTime = $comment->author()->time_spent > 0 ? $comment->author()->getTotalTimeSpentOnline( $comment->author(), $comment->author()->time_spent, TRUE ) : 0;}}
{{if $totalTime}}
{$totalTime}
{{endif}}
{{endif}}