from datetime import datetime


def to_date(time):
    """Convert date from '2019-05-08T08:27:07.472Z' to 'Wed 08 May 2019 08:27'"""
    return datetime.fromisoformat(time[:-1]).strftime('%a %d %b %Y %H:%M')