Fix day_name undefined.