Fuco1 / org-clock-budget

Budget your time with org!
77 stars 5 forks source link

Honor `org-agenda-start-on-weekday` #2

Open dato opened 7 years ago

dato commented 7 years ago

It would be nice if the budget report would use the users’ idea of when a week starts (instead of Monday).

I, for example, plan my weeks starting on Saturday.

org-mode has a variable for this, org-agenda-start-on-weekday:

Non-nil means start the overview always on the specified weekday. 0 denotes Sunday, 1 denotes Monday, etc.

I think it should be fine to use it for org-clock-budget-report. I will try to submit a patch if I can.

Btw thanks for the library, it suits my needs fine!

Fuco1 commented 7 years ago

You are right, we should respect the setting. I had no idea it existed though :D Should be doable.