2023-03-10 GnuCash IRC logs
00:20:12 *** chockey has quit IRC
00:55:22 *** NoobAlice has quit IRC
01:53:37 *** fell has quit IRC
01:54:28 *** fell has joined #gnucash
01:54:28 *** ChanServ sets mode: +o fell
02:31:23 *** gandalf has joined #gnucash
04:33:50 *** gjanssens has joined #gnucash
04:33:50 *** ChanServ sets mode: +o gjanssens
07:02:57 <chris> gjanssens: do you see any scope for augmenting the date parser in csv import? eg. dd-mmm-yy. I appreciate the localisation nightmare this presents...
07:09:39 *** gandalf1 has joined #gnucash
07:10:06 *** gandalf has quit IRC
07:10:06 *** gandalf1 is now known as gandalf
07:26:51 *** gjanssens has quit IRC
07:27:32 *** gandalf1 has joined #gnucash
07:28:00 *** gandalf has quit IRC
07:28:00 *** gandalf1 is now known as gandalf
08:50:29 *** jervin has joined #gnucash
09:26:41 *** gjanssens has joined #gnucash
09:26:42 *** ChanServ sets mode: +o gjanssens
09:46:55 <gjanssens> chris: the csv import depends on GncDate to parse date values. I think I extended that class slightly to support the few formats we currently support.
09:47:54 <gjanssens> It's a fairly naive implementation, which can probably extended if you like. I think the challenge is really that a three-digit month is an abbreviated month name in user's locale.
09:48:15 <gjanssens> That will be quite difficult to comprehensively parse.
09:48:38 <gjanssens> In the same simple regex based method we currently use.
09:49:23 <gjanssens> A complete solution probably requires selecting a locale for the date format that matches the format in the import data and then use some locale aware date parsing code to read that.
09:49:54 <gjanssens> I haven't searched for it, but I'm sure somewhere in either stdlib, boost or icu there must be a decent date parser we can borrow instead.
09:50:42 <gjanssens> Next challenge is to display the possible formats to the user without being too overwhelming. I have no idea atm what would be a good option here.
10:44:44 *** jervin has quit IRC
10:48:48 *** palerider has joined #gnucash
11:08:29 *** palerider has left #gnucash
11:08:44 *** gjanssens has quit IRC
11:31:52 *** NoobAlice has joined #gnucash
12:35:50 *** chockey has joined #gnucash
12:41:21 *** ChanServ sets mode: +v chockey
12:46:49 *** ArtGravity has joined #gnucash
12:46:49 *** ChanServ sets mode: +v ArtGravity
12:59:37 *** gjanssens has joined #gnucash
12:59:37 *** ChanServ sets mode: +o gjanssens
15:00:49 *** warlord has quit IRC
15:16:07 *** gjanssens has quit IRC
15:27:40 *** chockey has quit IRC
15:34:08 *** gjanssens has joined #gnucash
15:34:08 *** ChanServ sets mode: +o gjanssens
15:58:20 *** gjanssens has quit IRC
16:05:51 *** jervin has joined #gnucash
17:10:27 *** gandalf has quit IRC
17:11:57 *** gandalf has joined #gnucash
17:13:11 *** gandalf has quit IRC
17:40:24 <jralls> CDB-Man: I'm writing docs for chris's stock txn assistant and I found that it wants a stock value on a return of capital and a notional distribution. That doesn't seem right to me, are there cases when it would be?
20:18:23 *** ArtGravity has quit IRC
20:29:14 *** bertbob has quit IRC
21:02:11 <chris> @tell gjanssens https://stackoverflow.com/questions/66806874/how-to-convert-dd-mmm-yyyy-and-now-to-days using std::chrono of course
21:02:11 <gncbot> chris: The operation succeeded.
21:41:02 *** warlord has joined #gnucash
23:34:06 *** bertbob has joined #gnucash
23:34:06 *** ChanServ sets mode: +v bertbob