diff options
Diffstat (limited to 'src/py_item.cc')
-rw-r--r-- | src/py_item.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/py_item.cc b/src/py_item.cc index 361de914..a12784ff 100644 --- a/src/py_item.cc +++ b/src/py_item.cc @@ -149,12 +149,12 @@ void export_item() .def("parse_tags", &item_t::parse_tags) .def("append_note", &item_t::append_note) - .add_static_property("use_auxiliary_date", + .add_static_property("use_aux_date", make_getter(&item_t::use_aux_date), make_setter(&item_t::use_aux_date)) .add_property("date", &item_t::date, make_setter(&item_t::_date)) - .add_property("auxiliary_date", &item_t::aux_date, + .add_property("aux_date", &item_t::aux_date, make_setter(&item_t::_date_aux)) .add_property("state", &item_t::state, &item_t::set_state) |