Fixed the function that returns the string for a day.