Skip to main content

pretty formatting of dates

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for prettydate, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size prettydate-0.2.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View
Filename, size prettydate-0.2-py2.5.egg (8.5 kB) File type Egg Python version 2.5 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page