weekday changed to unsigned int instead of the stupid enum