Skip to content

Commit

Permalink
Merge John Ralls's 'bug798958' into stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Feb 7, 2025
2 parents d0ad95f + a475172 commit 5b08f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgnucash/engine/gnc-option-date.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ gnc_relative_date_to_time64(RelativeDatePeriod period)
{
auto delta = (now.tm_mon >= acct_per.tm_mon ?
( now.tm_mon - acct_per.tm_mon) % 3 :
3 - ((acct_per.tm_mon - now.tm_mon) % 3));
(3 - acct_per.tm_mon - now.tm_mon) % 3);
now.tm_mon = now.tm_mon - delta;
}
[[fallthrough]];
Expand Down

0 comments on commit 5b08f8f

Please sign in to comment.