Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timestamp without timezone format issue #71

Open
FrederikPM opened this issue Apr 11, 2024 · 4 comments
Open

timestamp without timezone format issue #71

FrederikPM opened this issue Apr 11, 2024 · 4 comments

Comments

@FrederikPM
Copy link
Member

FrederikPM commented Apr 11, 2024

Querying a table with a column of the type timestamp without timezone returns the time in the given format: [date][“T”][time][“Z”].
However, the “Z” notation indicates that the time is UTC and as such I think the format should be changed to [date][“T”][time].

@Alkarex
Copy link
Member

Alkarex commented Apr 11, 2024

Hello,
Can you try your query directly on the PostgreSQL database?
I do not believe this Node-RED node does any transformation there

@FrederikPM
Copy link
Member Author

Yes.
The following query: SELECT time FROM datatable LIMIT 1 gives:
billede

@Alkarex
Copy link
Member

Alkarex commented Apr 11, 2024

And could you show some details of your flow / query in Node-RED as well as the result you get?

@FrederikPM
Copy link
Member Author

Flow:
billede
Query: SELECT time FROM datatable LIMIT 1;
Debug result:
billede

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants