Convert a string into a calendar item