sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18112
Re: [Question #229079]: select a date from calendar
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.