user friendly datetime features

jim-on-linux inq1ltd at inqvista.com
Wed Jan 9 18:30:00 CET 2008



Why not build your own module?  You can use it where and when you need 
it.

jim-on-linux
http://www.inqvista.com



On Tuesday 08 January 2008 20:19, Daniel Fetchinson wrote:
> Many times a more user friendly date format is convenient than the
> pure date and time.
> For example for a date that is yesterday I would like to see
> "yesterday" instead of the date itself. And for a date that was 2
> days ago I would like to see "2 days ago" but for something that
> was 4 days ago I would like to see the actual date. This is often
> seen in web applications, I'm sure you all know what I'm talking
> about.
>
> I'm guessing this feature is needed so often in so many projects
> that it has been implemented already by several people. Does anyone
> know of such a stand alone module?



More information about the Python-list mailing list