Commit d94cc0d2 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: fix display

parent 68db9abb
......@@ -70,8 +70,12 @@ for i=1:length(fields)
end
elseif isobject(val)
if isdates(val)
fprintf('<dates: %s, ..., %s>', ...
if isempty(val)
fprintf('<dates: empty>');
else
fprintf('<dates: %s, ..., %s>', ...
date2string(val(1)), date2string(val(end)));
end
elseif isdseries(val)
if numel(val) == 1
fprintf('<dseries: %s>', val.name{1});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment