ioBroker.javascript
ioBroker.javascript copied to clipboard
[Bug]: Konvertierungsblock "nach Datum/Zeit" lässt sich nicht an den Matheblock andocken
I'm sure that
- [x] This issue is still present in the current beta version of this adapter
- [x] There is no other (open) issue with the same topic (use the search!)
- [x] This issue is not described in the adapter documentation / FAQ (read the docs!)
Script type
Blockly
The problem
Ursache ist vermutlich in Zeile 128 der Datei "src-editor/public/google-blockly/own/blocks_convert.js".
iobroker.current.log (in debug mode!)
No response
Version of nodejs
20.19.4
Version of ioBroker js-controller
7.0.6
Version of adapter
8.9.2
Funktioniert wenn du zusätzlich nach Zahl konvertierst:
Das ist bekannt, aber ein Mangel.
Das Problem ist der falsch definierte Output Type:
https://github.com/ioBroker/ioBroker.javascript/blob/33c7d649243792836ed5e3a39d995dabbe3012da/src-editor/public/google-blockly/own/blocks_convert.js#L128
Da ja immer getTime() aufgerufen wird, ist der Rückgabewert eigentlich Number