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.

Source Distribution

prettydate-0.2.tar.gz (4.2 kB view hashes)

Uploaded source

Built Distribution

prettydate-0.2-py2.5.egg (8.5 kB view hashes)

Uploaded 2 5

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