Is there a way to change the createdAt value?

default discord avatar
7 months ago

Right now I'm working on a case where I need to change the createdAt date made when a collection is made. Does anyone know how to do this? I've already tried adding a field called createdAt with type date to my collection, but when I change the value through this and save, the actual will always revert back to it's initial date.

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.