Here the word "day" refers to a general period of time. The leaders of Israel dedicated these things over the course of 12 days. AT: "when Moses anointed the altar"