(In reply to John Ralls from comment #61) > > What were you planning to use for a date type? GLib's GDate? It's the only > ready-made date implementation I know of that doesn't have a timezone > problem, but we're trying to move away from GLib in GnuCash's core, > preferring the C++ standard library. Unfortunately std::chrono is > time-oriented and its date type is timezone-sensitive, as are > boost::date_time and ICU's.
I'm not a C++ developer, but isn't this dealt with by the new date operators in std::chrono? https://en.cppreference.com/w/cpp/chrono/year_month_day This is discussed in detail in the "Opening Keynote Meeting C++ 2019 - Howard Hinnant - Design Rationale for the chrono Library" at https://youtube.com/watch?v=adSAN282YIw -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/365065 Title: gnucash is confused by timezone changes To manage notifications about this bug go to: https://bugs.launchpad.net/gnucash/+bug/365065/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
