r16073 - gnucash/trunk - Further improve date parsing on Windows. Revert parts of r16049 on Unix.
Andreas Köhler
andi5 at cvs.gnucash.org
Sat May 12 12:50:53 EDT 2007
Author: andi5
Date: 2007-05-12 12:50:49 -0400 (Sat, 12 May 2007)
New Revision: 16073
Trac: http://svn.gnucash.org/trac/changeset/16073
Modified:
gnucash/trunk/configure.in
gnucash/trunk/lib/libc/strptime.c
gnucash/trunk/lib/libc/strptime.h
gnucash/trunk/lib/libqof/qof/gnc-date-p.h
gnucash/trunk/lib/libqof/qof/gnc-date.c
gnucash/trunk/lib/libqof/qof/qof-win32.c
gnucash/trunk/macros/legacy_macros.m4
Log:
Further improve date parsing on Windows. Revert parts of r16049 on Unix.
The recursive parsing of %x by strptime seems to work only for complete
strings, e.g. 4.6. in de_DE or 4/6 in en_UK will not be parsed
correctly. Therefore, readd LANGINFO_D_FMT_CHECK and use
qof_win32_get_time_format(QOF_WIN32_PICTURE_{DATE,TIME,DATETIME} on
Windows for printing and scanning. Make get_win32_locale_string and
translate_win32_picture accessible by QOF.
More information about the gnucash-patches
mailing list