~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/date.py

  • Committer: Matt Giuca
  • Date: 2010-02-11 05:54:45 UTC
  • Revision ID: matt.giuca@gmail.com-20100211055445-151qrs4xczzl5rns
Docs: Completed Tour of IVLE (finished Admin section). Apologies for the mess on the previous commit -- committed an unfinished document.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
    >>> make_date_nice_short(now - datetime.timedelta(5))
68
68
    '5 days ago'
69
69
    >>> make_date_nice_short(1242783748)
70
 
    'May 20'
 
70
    'May 20, 2009'
71
71
    """
72
72
 
73
73
    dt = get_datetime(datetime_or_seconds)