def project_time_day(row):
 try:
  thisdate = row['project_time.date']
 except AttributeError:
  return current.messages['NONE']
 if (not thisdate):
  return current.messages['NONE']
 now = current.request.utcnow
 week = datetime.timedelta(days=7)
 return thisdate.date().strftime('%d %B %y')

def project_time_day ( row ) : try : thisdate = row [ 'project_time.date' ] except AttributeError : return current . messages [ 'NONE' ] if ( not thisdate ) : return current . messages [ 'NONE' ] now = current . request . utcnow week = datetime . timedelta ( days = 7 ) return thisdate . date ( ) . strftime ( '%d %B %y' )
virtual field for project_time - abbreviated string format for date .