mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #532889: When showing sx from txn preview dense cal, choose correct starting month.
When creating a scheduled transaction from a given transaction, the first occurence from the transaction date onwards is found by calculating the first occurence after the day before that date. OTOH, that "yesterday" should not be used as start date of the dense calendar. Patch by Andreas Köhler <andi5.py@gmx.net>. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17659 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5ca984954c
commit
10b83bac05
@ -694,10 +694,10 @@ sxftd_update_example_cal( SXFromTransInfo *sxfti )
|
||||
|
||||
/* go one day before what's in the box so we can get the correct start
|
||||
* date. */
|
||||
startDate = date;
|
||||
g_date_subtract_days(&date, 1);
|
||||
g_date_clear(&nextDate, 1);
|
||||
recurrenceListNextInstance(schedule, &date, &nextDate);
|
||||
startDate = date;
|
||||
|
||||
{
|
||||
GtkWidget *w;
|
||||
|
Loading…
Reference in New Issue
Block a user