add endsAt time conversion to NewPollFromValues