summaryrefslogtreecommitdiff
path: root/gnucash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnucash.cc')
-rw-r--r--gnucash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnucash.cc b/gnucash.cc
index 7849f81f..a834e29a 100644
--- a/gnucash.cc
+++ b/gnucash.cc
@@ -274,7 +274,7 @@ static void dataHandler(void *userData, const char *s, int len)
break;
case ENTRY_DATE:
- curr_entry->_date = parse_datetime(string(s, len));
+ curr_entry->_date = parse_date(string(s, len));
break;
case ENTRY_DESC: