Formats dates in relative format. Refs #31.