MySQL Forums
Forum List  »  Connector/Node.js

Re: Dates being returned in the wrong timezone
Posted by: Rui Quelhas
Date: November 26, 2020 02:56AM

Hi Lawrence,

what kind of column data type are you using? Can you provide a simple example to reproduce the issue?

You are right when you say the connector assumes the values in the server are stored in UTC, which is what is commonly advised. Right now, Connector/Node.js does not perform any kind of conversion and there is no "serverTimezone" option available.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.