mirror of https://github.com/Gnucash/gnucash
An odd corner case: BST apparently came off of DST at 23:00 26 Oct 2014, so midnight that day was ambiguous about being DST or not; that causes the local_date_time constructor to throw in spite of the tm.is_dst element being 0 (meaning pick standard time). Instead of just failing in that case, try constructing a local_date_time three hours later then adjust it back three hours. If *that* doesn't work then throw a std::invalid argument.pull/339/head
parent
b5ac8591fc
commit
16ba1e39b1
Loading…
Reference in new issue