node.js - Is there way to offset timezone in Cassandra using nodejs connectors? -


cassandra server storing times in utc. it's offsetting times based on tz environment when connecting via commandline.

however, when connecting via node-cassandra-cql, times coming in utc.

is there way offset db connection specific timezone or timezone offset?

node-cassandra-cql eol, should use datastax node.js driver.

both cassandra timestamp , ecmascript date represent single moment in time (without timezone information), date stored , retrieved same seeing differences in string representation of date.

you can use date methods string represent in way or change utc offset or can use momentjs package use different timezone 1 in server.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -