public static DateTime GetEndDate(this Post post) { return(CalendarFunctions.TryDateTimeParse(post.Custom("End Date"))); }
public static DateTime GetEventDate(this Post post) { return(CalendarFunctions.TryDateTimeParse(post.Custom("Event Date")).Date); // For backwards compatibility - the EventDate used to be saved with a time }