summaryrefslogtreecommitdiff
path: root/gnucash.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-19 14:47:33 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:27 -0400
commitc5214c87594e0de68111a9160dba5dc1aceb9a43 (patch)
tree41419220704bb48e79d506cee4d12cb3e35fdc69 /gnucash.cc
parent53c132ad98caf765eaba51fe4c5a85e4a69ddf06 (diff)
downloadfork-ledger-c5214c87594e0de68111a9160dba5dc1aceb9a43.tar.gz
fork-ledger-c5214c87594e0de68111a9160dba5dc1aceb9a43.tar.bz2
fork-ledger-c5214c87594e0de68111a9160dba5dc1aceb9a43.zip
Changed date parser to use lex/yacc.
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 ab04dfd5..0b7b2786 100644
--- a/gnucash.cc
+++ b/gnucash.cc
@@ -219,7 +219,7 @@ void dataHandler(void *userData, const char *s, int len)
break;
case gnucash_parser_t::ENTRY_DATE:
- parser->curr_entry->_date = ptime_from_local_date_string(std::string(s, len));
+ parser->curr_entry->_date = parse_datetime(std::string(s, len));
break;
case gnucash_parser_t::ENTRY_DESC: