codinguser / gnucash-android

Gnucash for Android mobile companion application.
Apache License 2.0
1.23k stars 540 forks source link

Weekday is ignored in scheduled exports #641

Closed rivaldi8 closed 7 years ago

rivaldi8 commented 7 years ago

Steps to reproduce the behaviour

  1. Go to Menu > Export...
  2. Set a weekly recurrence with a weekday different of the one for the current date. For example, if today is Monday set it to Thursday.
  3. Save changes.

Expected behaviour

The export is done weekly on the day set in the recurrence (Thursday in the example).

Actual behaviour

The export is done weekly, but on the weekday the scheduled export was created instead (Monday in the example).

The problem is ScheduledActionService looks only at the elapsed time since the last export.

Software specifications

codinguser commented 7 years ago

@rivaldi8 Will this issue make it for 2.2.0 release?

rivaldi8 commented 7 years ago

I think so. I'll work on it this weekend.