Fix HourOfDay registration