name_value: to_ptree: fixed minor bug in visiting ptime