Does post-robot support sending Date objects? Just tried to return a date object within an object and found that it returns an empty object. It looks like perhaps there is a minimal check if (typeof item == "object") which will be true for Date objects. Should it have a stronger check like item.constructor === Object and throw an error if false?
Does post-robot support sending Date objects? Just tried to return a date object within an object and found that it returns an empty object. It looks like perhaps there is a minimal check
if (typeof item == "object")
which will be true for Date objects. Should it have a stronger check likeitem.constructor === Object
and throw an error if false?