def _FormatAttribute(self, name, value):
    """Formats 'expiration' as human readable date/times.
    """
    if name == 'expiration':
      if value < time.time():
        return '<i>Expired</i>'
      else:
        return self._FormatTimestamp(value)
    else:
      return FmtDefault._FormatAttribute(self, name, value)
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/admin/formatters.py/FmtLock._FormatAttribute/original