summaryrefslogtreecommitdiff
path: root/xml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'xml.cc')
-rw-r--r--xml.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/xml.cc b/xml.cc
index c65fa190..ebafd65b 100644
--- a/xml.cc
+++ b/xml.cc
@@ -70,10 +70,10 @@ static void endElement(void *userData, const char *name)
curr_entry = NULL;
}
else if (std::strcmp(name, "en:date") == 0) {
- curr_entry->_date = parse_datetime(data);
+ curr_entry->_date = parse_date(data);
}
else if (std::strcmp(name, "en:date_eff") == 0) {
- curr_entry->_date_eff = parse_datetime(data);
+ curr_entry->_date_eff = parse_date(data);
}
else if (std::strcmp(name, "en:code") == 0) {
curr_entry->code = data;