Skip to content

Objects inconsistently have UTC date properties #92

@bryanoltman

Description

@bryanoltman

When an object is retrieved directly (db.posts.queryPost('1')), its DateTime properties will be UTC. If this same object is accessed via an object that has a relation to it (user.posts.singleWhere((post) => post.id == '1')), its DateTime properties will not be UTC.

See https://github.com/bryanoltman/stormberry_error_repro for an example that reproduces this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions