r16081 - gnucash/trunk/lib/libqof/qof - Add some delimiters for parsing CJK dates, #437898.

Andreas Köhler andi5 at cvs.gnucash.org
Sun May 13 11:02:40 EDT 2007


Author: andi5
Date: 2007-05-13 11:02:40 -0400 (Sun, 13 May 2007)
New Revision: 16081
Trac: http://svn.gnucash.org/trac/changeset/16081

Modified:
   gnucash/trunk/lib/libqof/qof/gnc-date.c
Log:
Add some delimiters for parsing CJK dates, #437898.

On Windows, the short date formats are used, containing standard
delimiters.


Modified: gnucash/trunk/lib/libqof/qof/gnc-date.c
===================================================================
--- gnucash/trunk/lib/libqof/qof/gnc-date.c	2007-05-13 13:23:31 UTC (rev 16080)
+++ gnucash/trunk/lib/libqof/qof/gnc-date.c	2007-05-13 15:02:40 UTC (rev 16081)
@@ -632,7 +632,7 @@
 
    /* Use strtok to find delimiters */
    if (tmp) {
-     static char *delims = ".,-+/\\() ";
+     static char *delims = ".,-+/\\()년월年月 ";
 
       first_field = strtok (tmp, delims);
       if (first_field) {



More information about the gnucash-changes mailing list