2024-07-31 GnuCash IRC logs

10:36:06 *** gncbot has joined #gnucash
10:39:33 *** warlord has joined #gnucash
10:40:33 *** ChanServ sets mode: +qo warlord warlord
10:40:35 *** warlord sets mode: +o gncbot
12:02:45 *** FeuerwehrMichael has joined #gnucash
12:02:45 *** ChanServ sets mode: +v FeuerwehrMichael
12:37:01 *** FeuerwehrMichael has quit IRC
13:48:46 *** fell has joined #gnucash
13:48:46 *** ChanServ sets mode: +o fell
20:05:38 *** chris has joined #gnucash
20:05:38 *** ChanServ sets mode: +v chris
20:06:06 <chris> .
20:06:06 <gncbot> chris: Sent 1 day, 1 hour, and 50 minutes ago: <jralls> I use the normal calendar year for my accounting purpose but I know it's normal in Oz to also have your FY begin and end in the Winter so I tested that too. The only way I got an offset quarter was to have an offset year, e.g. 2023-12-01 to 2024-11-30.
20:06:07 <gncbot> chris: Sent 1 day, 1 hour, and 47 minutes ago: <jralls> As you recall we've discussed that before and I've showed you publicly traded companies (e.g. Cisco Systems) that use offset fiscal years and accordingly report quarterly earnings on three-month intervals aligned to their FY.
20:06:08 <gncbot> chris: Sent 1 day, 1 hour, and 40 minutes ago: <jralls> But your FY is offset 6 months so the quarters do align.
20:06:09 <gncbot> chris: Sent 1 day, 1 hour, and 40 minutes ago: <jralls> the relative quarter calculation starts at https://github.com/Gnucash/gnucash/blob/992b5f78b032b63de662118d48328b6875117486/libgnucash/engine/gnc-option-date.cpp#L529.
20:06:10 <gncbot> chris: Sent 1 day, 0 hours, and 26 minutes ago: <jralls> Sorry, misremembered the problem: You're seeing a full quarter offset. I see a potential cause: if now.tm_mon <= acct_per.tm_mon then delta is 3, 2, or 1. I can see how that would cause it to be a quarter off, but it can't explain why it works for me even when I set a July-June FY.
20:06:54 <chris> jralls: and also why the 3-month quarter offset depends on the mday too?
20:55:37 *** chris has quit IRC