Skip to content

Values created with datetime() panics with "wrong value marker" (support for ZonedDateTime missing?) #63

@magnusart

Description

@magnusart

When I use the datetime() function in a Cypher Create query I see the value below in Memgraph lab.

{
   "year": 2024,
   "month": 11,
   "day": 23,
   "hour": 22,
   "minute": 40,
   "second": 32,
   "nanosecond": 960870000,
   "timeZoneOffsetSeconds": 0,
   "timeZoneId": "Etc/UTC"
}

But when I try with rsmgclient I get the error "wrong value marker" from the client. I previously used localdatetime() function and that worked fine. But it is missing the timezone.

Could this be because support for ZonedDateTime is missing from the client?

pub enum Value {

It was released before summer as far as I can see
https://memgraph.com/docs/release-notes#memgraph-v2170---may-22-2024

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions