from datetime import datetime


def timestamp_to_solr_date(timestamp):
    """Transform a timestamp (float) into a string parsable by Solr"""
    return datetime.fromtimestamp(timestamp).strftime('%Y-%m-%dT%H:%M:%SZ')