[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: user friendly datetime features

jim-on-linux

1/9/2008 5:30:00 PM



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

jim-on-linux
http://www.in...



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?