[GNC-dev] Static locale commit unfortunately buggy

Christian Stimming christian at cstimming.de
Sun Jan 20 15:42:05 EST 2019


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






More information about the gnucash-devel mailing list