parses datetime from ics