They had 5 or 6 intercalary holidays to celebrate the new year and adjust to the rise of the Nile (and we’d adjust it to astronomical time with leap years). It actually worked really well, and kept the people happy with a 5-day rest and celebration each year (something this world could definitely use).