Update util.formatDate to calculate relative timestamp strings. Test