summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/amount.cc b/amount.cc
index 7b294026..5d2cdccd 100644
--- a/amount.cc
+++ b/amount.cc
@@ -1172,7 +1172,7 @@ bool parse_annotations(std::istream& in, amount_t& price,
else
throw new amount_error("Commodity date lacks closing bracket");
- date = ptime_from_local_date_string(buf);
+ date = parse_datetime(buf);
has_date = true;
}
else if (c == '(') {