pretty formatting of dates
Returns a human-friendly date string based on context.
prettyDate is a library that front-ends the prettyDate function, prettydate.pretty_date.prettyDate. By default, a string with ‘yesterday, ‘today’, or ‘tomorrow’ is returned when applicable and a datestamp-formatted date otherwise.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.