I’ve extrapolated the logic of preparing dates for comparison into a separate method and started using it in both compareElementContent and _recursiveCompare (when comparing complex values).
I’ve adjusted the comparison of empty values so that if the existing value is, for example, null and the new value is empty (but not null), the data is not unnecessarily reported as changed.
Description
I’ve extrapolated the logic of preparing dates for comparison into a separate method and started using it in both
compareElementContent
and_recursiveCompare
(when comparing complex values).I’ve adjusted the comparison of empty values so that if the existing value is, for example, null and the new value is empty (but not null), the data is not unnecessarily reported as changed.
All the hard work done by @jeffreyzant - thanks!
Related issues
1403