Closed patwcollins closed 4 years ago
Hey there, you are right. Thanks for reporting this! There are lots of combinations of arguments and it is difficult to check all of them, This issue seemed to happen when the year starts on Monday. It should be fixed now. I've tried with several combinations of years and everything seems to work. This is the output with your code:
I'm going to close this issue but feel free to reopen it if something does not work as expected.
Sorry, it is not fixed yet. Now there is an issue in 2012 when week starts on Monday because there are 54 weeks. I will try to fix it.
Code updated again. Please verify if the week.number
argument works as expected.
I'm going to close this issue. Feel free to reopen it if the problem persists.
I ran the following code and it starts 2018 at week 2 and runs to week 54.