Skip to content

DATETIME truncation #1947

Description

@jymcheong

Version: 25.1.1 release docker container

Steps to reproduce

CREATE VERTEX TYPE  Alert IF NOT EXISTS;
CREATE PROPERTY Alert.timestamp IF NOT EXISTS DATETIME;
insert INTO Alert content {type:'IT', timestamp: "2025-02-06 06:46:01"}

Expected: timestamp = 2025-02-06 06:46:01

Actual: timestamp showing YYYY-MM-DD format

Other notes

  • Observed from configuration dump arcadedb.dateTimeFormat = yyyy-MM-dd HH:mm:ss
  • even with insert into Alert CONTENT { type:'IT', timestamp = "2024-12-05 22:56:02"}, it still ends up truncating time portion
  • default sysdate('YYYY-MM-DD HH:MM:SS') was taken from arcadeDB docs website, it ends up setting default on arcadeDB UI is showing today's date instead of sysdate, seen that in OrientDB before.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions