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

« back to all changes in this revision

Viewing changes to ivle/date.py

  • Committer: David Coles
  • Date: 2009-07-21 02:19:56 UTC
  • mto: (1281.1.8 aufsless)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: coles.david@gmail.com-20090721021956-c1jiwu7fhi2dna1g
Updated to work on bind mounts

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, 2009'
 
70
    'May 20'
71
71
    """
72
72
 
73
73
    dt = get_datetime(datetime_or_seconds)