will now display days correctly even if day numbers are not consecutive