You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Filter node (block unless value changes) treats every Date payload as unchanged #5987
With the Filter node set to "block unless value changes", a msg.payload that is a Date object is blocked even when its time is different from the previous one.
The cause looks like util.compareObjects. It has a special case for Buffers, but a Date falls through to the plain object branch. A Date has no own enumerable keys, so any two Dates compare as equal:
I have a small fix that compares Dates by getTime() next to the existing Buffer check, with tests for util and the Filter node. Happy to open a PR if that approach works for you.
Activity
dceejay commentedon Oct 9, 2026
Yes - sounds like a good PR to me. please submit. thanks