Skip to content

Node Timestamps #138

@dlubitz

Description

@dlubitz

The timestamps of a node have been changed. They need a proper rewrite in PHP and Fusion

node.lastModificationDateTime
node.lastPublicationDateTime
node.creationDateTime

New timestamps are stored in Neos\ContentRepository\Core\Projection\ContentGraph\Timestamps

        public DateTimeImmutable $created,
        public DateTimeImmutable $originalCreated,
        public ?DateTimeImmutable $lastModified,
        public ?DateTimeImmutable $originalLastModified,

neos/neos-development-collection#4092 (comment)

8.3 getter and documentation 9.0 getter and documentation
_creationDateTime / getCreationDateTime() timestamps->created Date and time a node was created in its content stream
_lastModificationDateTime / getLastModificationDateTime() timestamps->lastModified Date and time a node was last modified in its content stream
_lastPublicationDateTime / getLastPublicationDateTime() Date of last publication or null if the node was not published yet timestamps->originalLastModified Date and time a node was last modified in its original content stream

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