CB-5130: added prettyDate function as a service