correct calculation of week numbers according to ISO 8601