gnucash maint: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Mon May 28 12:00:07 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/74cbde2d (commit)
via https://github.com/Gnucash/gnucash/commit/174752e2 (commit)
via https://github.com/Gnucash/gnucash/commit/8b1b25ae (commit)
from https://github.com/Gnucash/gnucash/commit/aa086893 (commit)
commit 74cbde2d4f8822c330e0eb75777d3e6c1758a58b
Author: John Ralls <jralls at ceridwen.us>
Date: Mon May 28 08:56:01 2018 -0700
normalize date formats the C++ way.
commit 174752e28c83787eeb15f0ccfc77f60b7a3087f4
Merge: aa08689 8b1b25a
Author: John Ralls <jralls at ceridwen.us>
Date: Sat May 26 18:10:02 2018 -0700
Merge Bill Nottingham's 'bad-dates' into maint
commit 8b1b25aee52d3c844a4cbecba7c80b3cd5d8627b
Author: Bill Nottingham <notting at splat.cc>
Date: Tue May 22 23:37:22 2018 -0400
Modify date formatters to strip out certian specifiers.
strptime/strftime supports various modifiers to their parameters.
'E' and 'O': alternate locale-specific formats
(used in default format for Persian, Oriya, Azerbaijani)
'-': padding
(used in default format for Czech)
GnuCash passes dates as integer y/m/d without using locale-specific
formats, so we need to strip out 'E' and 'O' from the format when
scanning dates or determining separators in gnc-date.
None of '-', 'E', or 'O' are supported by boost (and '-' causes
errors), so strip them out from formatters in gnc-datetime as well.
See https://bugzilla.gnome.org/show_bug.cgi?id=795247.
Summary of changes:
libgnucash/engine/gnc-date.cpp | 47 +++++++++++++++++++-------------------
libgnucash/engine/gnc-datetime.cpp | 24 ++++++++++++++++---
2 files changed, 45 insertions(+), 26 deletions(-)
More information about the gnucash-patches
mailing list