update formating with rescue nil to return empty field when date or time is nil