Support Meta Box Group Date picker when cloned adds data when it shouldn't Reply To: Date picker when cloned adds data when it shouldn't

#9516
Anh TranAnh Tran
Keymaster

Hello,

When the timestamp is set to true, the date/datetime field will store values as an array in a group. This array contains 2 elements:

  • timestamp: the Unix timestampt
  • formatted: the formatted (user-entered) value

This is a difference between a single date/datetime field, which stores only timestamp value.

So, when you get the value from this field, please check both values.

Here is the video that demonstrates how the data is saved:

https://imgur.com/a/wHVSOWT