summaryrefslogtreecommitdiff
path: root/gnucash.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-10-19 22:42:24 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:19 -0400
commiteb0525e3157b579d45aab568e3ee06432fbaa338 (patch)
tree308ada59d939b363afd3791ef5f26406cedcebe1 /gnucash.cc
parenta53f44ecdaf9051c9e7f64993787c88d98b5348a (diff)
downloadfork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.tar.gz
fork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.tar.bz2
fork-ledger-eb0525e3157b579d45aab568e3ee06432fbaa338.zip
See ChangeLog
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 45c0e0dc..665f555f 100644
--- a/gnucash.cc
+++ b/gnucash.cc
@@ -236,7 +236,7 @@ static void dataHandler(void *userData, const char *s, int len)
case ENTRY_DATE: {
struct tm when;
strptime(std::string(s, len).c_str(), "%Y-%m-%d %H:%M:%S %z", &when);
- curr_entry->date = std::mktime(&when);
+ curr_entry->_date = std::mktime(&when);
break;
}