Fix off-by-one bug in formatting event dates