Moved label construction to prettyDate function.