fixes show-weeks bug #2730

ctrl doesn't seem to have the showWeeks info, but attrs does.