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

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World