Ad
  • Custom User Avatar

    Yes, the first sentence in the description was wrong. Sorry for that. This is now fixed and an image was added to outline this.

  • Custom User Avatar

    You are absolutely right. I adjusted the description to describe the ISO 8601 specification.

  • Custom User Avatar

    I think the description was wrong because the wiki says that whatever year the Thursday is in tells what year the week counts as. So on that one the thursday is in 2019 so the first Monday is the start of week 2.

  • Default User Avatar

    Hey there,

    at least for Iso 8601 the first calender week does not start on the first monday in january, but instead in the week containing the first thursday in january.
    Every calendar week starts with a monday, and thus has always a duration of seven days.
    Please consider taking that in your Description.

    Alternatives like in USA (at least believing the german wikipedia entry) start exactly at the first of january and result in the first week being shorter than seven days.

    If you'd like to set the scenario to "starting at first monday" consider adding the word: "asume".

  • Custom User Avatar

    Can someone tell me if I'm reading this wrong...
    The description says that week 1 starts with the first Monday in January. For 2019, the first Monday is January 7. Therefore, January 1 2019 is not in week 1, it should be in the last week of 2018.
    But the description and tests all assert that January 1 2019 is in week 1.

  • Default User Avatar

    This does not check if the array is a valid matrix