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

« back to all changes in this revision

Viewing changes to ivle/date.py

  • Committer: David Coles
  • Date: 2010-06-02 14:11:09 UTC
  • mfrom: (1791.1.4 iefixes)
  • Revision ID: coles.david@gmail.com-20100602141109-a08a31ldeumqmlyg
Fixes to improve compatibility with IE8.

- Console overlay no longer crashes due to use of reserved 'class' variable 
  name
- Fixed missing subject heading due to unclosed <h3> tag
- Normalize newlines to single LF (fixes syntax errors in exercises)
- Fix checkboxes in File Browser

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)