When using --from/--to with Date-parsable strings, such as bin/fiwareDeviceSimulatorCLI -f 2019-08-20T00:00:00.0Z -t 2019-08-20T23:59:59.9Z (or via -x), the CLI fails with the following exception:
{"lvl":"ERROR","msg":"error event: { error: 'uncaughtException: TypeError: theFromDate.getTime is not a function' }"}
Bug present with both non-Docker Node v8.12.0 and the latest Docker image. PR incoming.
When using --from/--to with Date-parsable strings, such as
bin/fiwareDeviceSimulatorCLI -f 2019-08-20T00:00:00.0Z -t 2019-08-20T23:59:59.9Z
(or via -x), the CLI fails with the following exception:{"lvl":"ERROR","msg":"error event: { error: 'uncaughtException: TypeError: theFromDate.getTime is not a function' }"}
Bug present with both non-Docker Node v8.12.0 and the latest Docker image. PR incoming.