Skip to content

Saving an item moves the published time on each save #3470

@christiaan

Description

@christiaan

publishedAt time jumps 2 hours ahead of what was entered.

Details

Question Answer
Relevant Bolt Version 5.1.24
Install type Composer install
BC Break ?
PHP version 7.4
Web server Symfony CLI (symfony serve)

Reproduction

Bug summary

When I create a new item the publishedAt Time is the correct time.
However when I save the item again the publishedAt Time jumps ahead 2 hours (maybe because I'm in utc +2?)
I have this in my config.yaml timezone: Europe/Amsterdam

Expected result

I expect the publishedAt time not to change when I save an item and did not modify the publishedAt field.

Actual result

The time jumps ahead 2 hours relative to the date/time in the publishedAt field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions