Skip to content

Instant serialized in server-local timezone #187

@Queatz

Description

@Queatz

With the following model:

class Model {
    public Instant time;
}

The serialized time saved in Arango is in server-local timezone. So, when using it in a query, i.e. x.time < DATE_NOW() isn't predictable, since x.time is in server-local time, whereas DATE_NOW() is in UTC.

Not sure if this is a feature request serialize Instants in UTC, or a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions