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 11053927..460277e7 100644
--- a/gnucash.cc
+++ b/gnucash.cc
@@ -235,7 +235,7 @@ void dataHandler(void *userData, const char *s, int len)
break;
case gnucash_parser_t::ENTRY_DATE:
- parser->curr_entry->_date = std::string(s, len);
+ parser->curr_entry->_date = ptime_from_local_date_string(std::string(s, len));
break;
case gnucash_parser_t::ENTRY_DESC: