DRY up the 'Last generated at' code