from datetime import datetime


def timestamp_to_seconds(timestamp):
    """Convert an ISO-ish timestamp to seconds-since-epoch."""
    return int(datetime.strptime(timestamp, "%Y-%m-%dT%H:%M:%S%z").strftime("%s"))