Move timestamp formatting fn to rabbit_misc