Skip to content

DATETIME truncation #1947

@jymcheong

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions