All pastes #537207 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-04 17:46 UTC
rendered paste body
                elif column in ('time', 'date','changetime', 'created', 'modifie
d'):
                    if cell == 'None':
                        value['date'] = value['time'] = cell
                        value['datetime'] = value['gmt'] = cell
                    else:
                        value['date'] = format_date(cell)
                        value['time'] = format_time(cell)
                        value['datetime'] = format_datetime(cell)
                        value['gmt'] = http_date(cell)
                prefix = 'report.items.%d.%s' % (row_idx, unicode(column))
                req.hdf[prefix] = unicode(cell)