I am getting data from PostgreSQL using python and converting the data to JSON format and pushing to API to get live stream of the data.
The problem is all the data in PostgreSQL is in UTC but when pushed to data stream the data is converted to NZT. I am clearly missing something. Is there any way to stream the data in UTC itself?
You can see in the image the time as 10:22 which is NZT but it should be 21:22:23 utc. Any help please?
You may have a look at below posts for reference.