Changeset 1314

Show
Ignore:
Timestamp:
09/08/09 04:41:15 (11 months ago)
Author:
seang
Message:

Remove commented code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • zgeo.atom/trunk/zgeo/atom/browser.py

    r1215 r1314  
    4646    ts = zope.datetime.time(date) 
    4747    return zope.datetime.iso8601_date(ts) 
    48     # Convert ISO or RFC 3339 datetime strings to RFC 3339 
    49     # Zope's ZDCAnnotatableAdapter gives RFC 3339. Lose the seconds precision 
    50     #if str(date).find('T') == 10: 
    51     #    s = date.split('.')[0] 
    52     # Plone's AT content types give ISO 
    53     #else: 
    54     #    t = time.strptime(date, '%Y-%m-%d %H:%M:%S') 
    55     #    s =  time.strftime('%Y-%m-%dT%H:%M:%S', t) 
    56     #tz = '%03d:00' % -int(time.timezone/3600) 
    57     #return s + tz 
    5848 
    5949def absoluteURL(ob, request):