Add minutes since last commit function

Thanks @Pengwynn.