Hi there,
I try to create a usermacro for tagging pages with published version and timestamp from publishing. I have found the needed data in "Page History":

so my macro is look like that:
## @noparams
#set( $version = $content.version )
#set( $dateFormatter = $action.getDateFormatter() )
#set( $date = $content.getLastModificationDate() )
<strong>Version: </strong>$version, <strong>Veröffentlicht: </strong>$dateFormatter.formatGivenString("dd-MMM-yyyy hh:mm", $date)
problem is that the $date is always show that what the name says: the last mod date
In that example timestamp 08:04 instead of 07:48 ... version is matching so if there are unpublished changes I see the correct version but not the correct timestamp:

Anybody out there with a nice hint for get the correct published date?