node-red-contrib-sun-position icon indicating copy to clipboard operation
node-red-contrib-sun-position copied to clipboard

time-comp Timestamp conversion wrong by one day.

Open hectorzeta opened this issue 2 years ago • 3 comments

Describe the bug I am using the node time-comp to parse timestamps and convert them to a different format. I was facing some offset problems in the converted timestamps. I simplify my flow to simple have a UNIX timestamp as an input and then pass it directly to the output (see attachments). The result is one day ahead.

Screenshots image image

image

Expected behavior The output shall be the same value as the input.

System information (please complete the following information):

  • Node Version: node-red-contrib-sun-position 2.1.1
  • Node-Red Version: v1.2.9

Additional context Add any other context about the problem here.

hectorzeta avatar Mar 04 '22 19:03 hectorzeta

This is fixed in the latest version.

Since this version has undergone some changes internally, I have this but still released as beta. That means you can't update it via Node-Red, but only via the command line.

Hypnos3 avatar Mar 14 '22 20:03 Hypnos3

(closed automatically), I will close Issue when version released regular.

Hypnos3 avatar Mar 14 '22 20:03 Hypnos3

Installation guide can be found in the release notes: https://github.com/rdmtc/node-red-contrib-sun-position/releases/tag/2.2.0-beta

Hypnos3 avatar Mar 14 '22 20:03 Hypnos3