gregorian offset (ISO 8601)

Week no 1 in gregorian contains the first thursday of the year,
but week no 1 in time.strptime %w contains the first monday.
So, if the year starts with a tuesday, wednesday, or thursday
we need to apply an offset by -1