Skip to content

Commit

Permalink
Update gnc-option-date.cpp
Browse files Browse the repository at this point in the history
clean up indentation
  • Loading branch information
agwekixj authored Feb 28, 2025
1 parent bb63b0c commit f075223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libgnucash/engine/gnc-option-date.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,8 @@ gnc_relative_date_to_time64(RelativeDatePeriod period)
auto month = now.tm_mon - (12 * year_delta);
auto year = now.tm_year + year_delta;
now.tm_mday = days_in_month(month, year);
if (offset == RelativeDateOffset::QUARTER && acct_per.tm_mday > 1 && acct_per.tm_mday <= now.tm_mday)
now.tm_mday = acct_per.tm_mday - 1;
if (offset == RelativeDateOffset::QUARTER && acct_per.tm_mday > 1 && acct_per.tm_mday <= now.tm_mday)
now.tm_mday = acct_per.tm_mday - 1;
gnc_tm_set_day_end(&now);
}
}
Expand Down

0 comments on commit f075223

Please sign in to comment.