MySQL Forums
Forum List  »  Connector/Node.js

Re: Dates being returned in the wrong timezone
Posted by: Lawrence Marigold
Date: November 25, 2020 09:01AM

I'm sorry but I don't know where the index.js would be - I don't have any db_config folder? I don't think I should be editing any files in the module folder hierarchy.

I connect using code similar to this:

host: <server>,
port: 33060,
user: <user>,
password: <password>,
schema: <database>

I tried adding "serverTimezone" to the object above as I read that helped with connectors for other languages, but that didn't make any difference.

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.