from datetime import datetime


def to_isoformat(item: str) -> str:
    """Compute the ISO formatted representation of a timestamp.

    Args:
      item:
        The timestamp to be formatted.

    Returns:
      The ISO formatted representation of the timestamp.
    """
    if item is not None:
        return datetime.fromtimestamp(float(item)).isoformat()