I want to list all weeknumbers together with year. This is what I have:
start # 2012-05-10
ende # 2013-06-20
while start < ende
weeks << start.cweek
start += 1.week
end
List all weeknumbers:
@kws.each do |w|
w
end
I need some inspiration how to assign the corresponding year to each weeknumber.. So that I get 22 / 2012 23 / 2012 etc..
Thanks for help..