Notice!
PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities.
Create your free Platform account
to download ActivePython or customize Python with the packages you require and get automatic updates.
Download
ActivePython
INSTALL>
pypm install prettydate
How to install prettydate
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install prettydate
| Python 2.7 | Python 3.2 | Python 3.3 |
---|
Windows (32-bit) | | | |
---|
Windows (64-bit) | | | |
---|
Mac OS X (10.5+) | | | |
---|
Linux (32-bit) | | | |
---|
Linux (64-bit) | | | |
---|
Lastest release
version 0.2 on Jan 5th, 2011
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.