I have some graph data with date type values. My gremlin query for the date type property is working, but output value is not the date value.
Environment:
- Janusgraph 0.3.1
- gremlinpython 3.4.3
Below is my example:
- Data (JanusGraph):
{"ID": "doc_1", "MY_DATE": [Tue Jan 10 00:00:00 KST 1079]}
- Query:
g.V().has("ID", "doc_1").valueMap("MY_DATE")
- Output (gremlinpython):
datetime(1079, 1, 16)
The error is 6 days (1079.1.10 -> 1079.1.16). This mismatch does not occur when the years are above 1600. Does the timestamp have some serialization/deserialization problems between janusgraph and gremlinpython?
Thanks