On 11/04/2023 17:09, Ihor Radchenko wrote:
Max Nikulin writes:
So at least some people expect 7, not 0. I would say, both variants
should be acceptable.

Would you be interested to make a patch?

Not really. I expect something like

       (let* ((ws (mod (or wstart 1) 7))
              (diff (+ (* -7 shift) (- dow ws) (if (> dow ws) 0 7))))

I have realized that current behavior may be considered as a feature. Agenda obtained on Sunday allows to review previous working week. So :weekstart 0 and :weekstart 7 might behave differently. However to make it full-fledged feature, it is necessary to introduce first_workday in addition to first_weekday. See properties reported by

     locale -k LC_TIME


Reply via email to