PublishPress-Planner icon indicating copy to clipboard operation
PublishPress-Planner copied to clipboard

Floating Publish Date on Custom Status

Open rizaardiyanto1412 opened this issue 2 years ago • 0 comments

When a post move to custom status, it did not keep floating publish date. The default status keep the floating date.

Step to replicate:

  1. Create new post

  2. Save to custom status

  3. Observe issue the publish date is set image

  4. This does not happen in default status (e.g. draft)

See below video:

CURRENT BEHAVIOR:

https://user-images.githubusercontent.com/83811723/203694823-539bc81e-8cde-4cec-92f6-c57119950571.mov

EXPECTED BEHAVIOR: The date still show "immediately" upon save on custom status

https://user-images.githubusercontent.com/83811723/203694849-4327126f-e57c-4728-91f7-4bfc61395e72.mov

Ticket: 171781

Client mentioned this that might be useful reference: https://github.com/WordPress/gutenberg/blob/dc107885fec50ab7417afcb545d97cd63cbc9577/packages/editor/src/store/selectors.js#L647-L664

https://github.com/WordPress/gutenberg/issues/13176

rizaardiyanto1412 avatar Nov 24 '22 04:11 rizaardiyanto1412