Is there a way to change the createdAt value?

default discord avatar
NH02
7 months ago
1

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!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

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