Am Samstag, 19. Januar 2019, 23:21:58 CET schrieb John Ralls: > Christian, > > Thanks for noticing. It seems that the std::locale objects created by > boost::locale aren't quite compatible. I've resolved the problem, at least > for maint, by using boost::locale to format date-times instead of > boost::date_time.
Dear John, thanks for working on this. Now it is fine again and all fixed. Thank you very much. Regards, Christian > > For the future we can consider another reimplementation of GncDateTime. > boost::date_time is an oldish library and hasn't been improved much since > it was accepted into boost. It's a bit quirky and doesn't perform very > well. std::chrono in C++20 has calendar and timezone functions, so that's > one possible replacement, though not until at least llvm and gcc implement > the expanded std::chrono and those implementations are widely available. > There's also ICU as wrapped by boost::locale. I demurred from that when I > picked boost::date_time because it's huge, but if we're pulling it in > anyway it's worth reconsidering. > > Regards, > John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel