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 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;
}