Commit Graph
6 Commits
Author SHA1 Message Date
Bill Nottingham 8b1b25aee5 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.
2018-05-22 23:37:22 -04:00
Bill Nottingham 519ce9fb81 Fix some copy-pasted code. 2018-05-16 22:16:20 -04:00
Bill Nottingham 434dd9520c Adjust catch syntax to avoid GCC8 warnings. 2018-04-03 22:02:44 -04:00
Bill Nottingham 0a3f2dd3ef Allow building against a shared libgmock (an option in gtest-1.8.0). 2018-04-03 21:59:50 -04:00
Bill Nottingam 1a92dad9d0 Bug 742321 - Reset temporary prefs on application startup 2015-11-10 21:54:38 +01:00
Bill Nottingham e54af98b05 Bug 747812 - unset LDFLAGS when unsetting CFLAGS
Since some LDFLAGS settings depend on corresponding CFLAGS ones,
e.g. -fPIC, unsetting only CFLAGS will cause the test-compile to
fail because of the mismatched flags.
2015-04-25 16:11:23 -07:00