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
I need to do timezone conversions based on a value that will be passed to the node in a msg.x field.
Data being converted from is all in UTC and the users timezone string (i.e. Australia/Melbourne) from an SQL query will determine the timezone it will convert to. If I manually set in Output TZ it converts correctly but I need it to be dynamic.
I've tried entering the field as msg.payload.timezone which contains the timezone string but just get the following error as the data is parsed as entered rather than the actual message content.
How do I do what I need to?
Understandable. We're all in the same boat.
I've had a brief look and I probably could do a pull and change on it but JS is far from my forte so if someone else versed in JS could have a look it would probably be much smoother.
I need to do timezone conversions based on a value that will be passed to the node in a msg.x field.
Data being converted from is all in UTC and the users timezone string (i.e. Australia/Melbourne) from an SQL query will determine the timezone it will convert to. If I manually set in Output TZ it converts correctly but I need it to be dynamic.
I've tried entering the field as msg.payload.timezone which contains the timezone string but just get the following error as the data is parsed as entered rather than the actual message content.
How do I do what I need to?
The text was updated successfully, but these errors were encountered: