Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date is not conserved when publishing drafts #916

Closed
AndreeaCristinaRadacina opened this issue Apr 5, 2024 · 4 comments
Closed

Date is not conserved when publishing drafts #916

AndreeaCristinaRadacina opened this issue Apr 5, 2024 · 4 comments
Labels
customer report Indicates the request came from a customer. enhancement Request to improve or optimize an existing feature or functionality in the project

Comments

@AndreeaCristinaRadacina
Copy link

A user reported that the date is not conserved after publishing when he creates imports with Drafts.

ref: https://wordpress.org/support/topic/draft-post-publication-date-reset-to-current-date-on-post-edit/

Replication steps:

  1. Create a new import
  2. Set the post status to Draft
  3. Save the import and go to the posts; you will see the item date
Screenshot 2024-04-05 at 18 58 17 4. If you open a post, its date will turn to Immediately, and the original date will appear when hovering image 5. When you publish, the post's date will become the current date and time; it will not inherit the original item date. image

The user mentioned that this had worked in the past; I rolled back to version 4.3.5, and the same behavior occurred.

Is this expected?

@AndreeaCristinaRadacina AndreeaCristinaRadacina added the question Can be used to identify issues that are asking a question about the code or how to use the project. label Apr 5, 2024
@pirate-bot pirate-bot added the customer report Indicates the request came from a customer. label Apr 5, 2024
@vytisbulkevicius vytisbulkevicius added this to the Feedzy 5.0 milestone Nov 24, 2024
@vytisbulkevicius vytisbulkevicius added enhancement Request to improve or optimize an existing feature or functionality in the project and removed question Can be used to identify issues that are asking a question about the code or how to use the project. labels Dec 2, 2024
@HardeepAsrani
Copy link
Member

@vytisbulkevicius I will remove as it's not an issue. If you draft any post on any past date, the Block Editor will always show Immediately as Publish time.

This makes sense as the Post Date there is the date of the draft. The publish date is when you click on the Publish button. And the user can change the date to past when they publish it.

@vytisbulkevicius
Copy link
Contributor

@HardeepAsrani got it.
The logic makes sense but for Feedzy uses cases it also make sense to keep the original date and then be able to modify something (that's why you want to save them as Draft) and only then publish after changes are made but with original date.

However, I only see this as a nice to have, it it's more complicated to have it I wouldn't bother either.

@vytisbulkevicius vytisbulkevicius removed this from the Feedzy 5.0 milestone Dec 5, 2024
@HardeepAsrani
Copy link
Member

@vytisbulkevicius We can close this?

@vytisbulkevicius
Copy link
Contributor

Yes, I removed from the milestone but thought to keep in the backlog if more users in the future report something like they would like to be able to save the original date and use it as published date later. But we can close and reopen if there is such a need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer report Indicates the request came from a customer. enhancement Request to improve or optimize an existing feature or functionality in the project
Projects
None yet
Development

No branches or pull requests

4 participants