Currently utilizing Next.js for fetching data from AWS Redshift. When running a query from DataGrip, the results display as follows:
orderMonth | repeatC | newC
2024-02-01 | 81 | 122
2024-01-01 | 3189 | 4097
However, upon retrieving the same query data from the Next.js API endpoint, the timezone is appended to the results:
orderMonth | repeatC | newC
2024-02-01T18:30:00.000Z | 81 | 122
2024-01-01T18:30:00.000Z | 3189 | 4097
Attempts to set the timezone in the query have been unsuccessful...
The goal is to obtain the same timezone-free result from the API endpoint as seen in DataGrip.
Your assistance in identifying the root cause of this issue would be greatly appreciated...
Thank you in advance!