We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a17d32 commit a475172Copy full SHA for a475172
libgnucash/engine/gnc-option-date.cpp
@@ -527,7 +527,7 @@ gnc_relative_date_to_time64(RelativeDatePeriod period)
527
{
528
auto delta = (now.tm_mon >= acct_per.tm_mon ?
529
( now.tm_mon - acct_per.tm_mon) % 3 :
530
- 3 - ((acct_per.tm_mon - now.tm_mon) % 3));
+ (3 - acct_per.tm_mon - now.tm_mon) % 3);
531
now.tm_mon = now.tm_mon - delta;
532
}
533
[[fallthrough]];
0 commit comments