jsevellec / cassandra-unit

Utility tool to load Data into Cassandra to help you writing good isolated JUnit Test into your application
GNU Lesser General Public License v3.0
425 stars 0 forks source link

Cassandra returning dates prior to the expected #299

Closed lucascp17 closed 4 years ago

lucascp17 commented 4 years ago

I have some tables that have date typed colmuns.

When I query values from those tables, the dates are being returned discounted by one day.

Example: If I insert "2019-10-02" into the database, I get "2019-10-01" when I execute the queries.

I tried to configure timezone, local settings and stuff like that, but nothing worked.

Why is this happening?

lucascp17 commented 4 years ago

Cassandra-unit is not causing the trouble.