Replace hardcoded data in prereg messages

Dynamic event and prereg open dates, plus a fix for events without
years.