Date&Time Difference new node has several bugs

Another bad situation.

The node Date&Time Difference was deprecated, and I’m substituting for the new version.

But it didn’t work!

The Ok button is not available, and when I change granularity, I receive a Java error message.

I discovered that you need to create a new node, save it with a basic configuration, open it again, and add the configuration. The field granularity has an error in the first open.