I found something that I believe is a bug or an error
My timezone is configured as follows:
GENERIC_TIMEZONE=America/Manaus
Come on, in the date/time node, when I use the expression: {{new Date().toLocaleString()}}
It brings the local date and time correctly, but when I treat this time using the: custom format, it changes my time zone.
Note: This only happens when I use the custom format.
I had this problem as well I think as a workaround you can jam your date / time expression into a Set node and then pass it to the Date & Time node to format it and it should output correctly