“Last pushed” means it was pushed at that time, not created. So Docker Hub shows when the image was pushed, not when it was built. They probably have a pipeline where they rebuild images from time to time and push it even if there was no change. If you have images on Docker Hub, you can pull one of your old images, push it without changing anything and see Docker Hub will show it was pushed a few seconds ago. Docker Desktop on the other hand shows the date from the image metadata.
You can check the release dates on the Postgres site:
It was based on alpine:3.19.1, which was created on 2024-01-26.
What I don’t understand either is why the postgres:16-bookworm image was created 28 days ago when its base, debian:bookworm-slim was created 8 days ago and postgres:16-bookworm was pushed 6 days ago. I guess it is not rebuilt immediately and the two days difference was not enough to trigger the event of rebuilding.
If you think it should have been already rebuilt, you can check the image description on Docker Hub and look for the link after “Where to file issues”