Question #229079 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229079

    Status: Open => Answered

RaiMan proposed the following answer:
the problem is only the first day:

firstDay = date(y, m, 1).isoweekday()
if firstDay == 7: firstDay = 0

using isoweekday saves the shifting of Mo - Sa, since they already have
the numbers 1 to 6 (Sunday is 7).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to