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

[FR] Allow re-setting publish date #113

Open
minht11 opened this issue Oct 10, 2023 · 5 comments
Open

[FR] Allow re-setting publish date #113

minht11 opened this issue Oct 10, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@minht11
Copy link

minht11 commented Oct 10, 2023

Allow changing publishing date to previous date in time for example if today is 2023-10-10, I want to be able to set publish date to 2022-10-10.

@ComfortablyCoding
Copy link
Contributor

This should already be possible via #46 . Whatever date you set in the interface as the publish date should be set as the date published.

So if you have a draft and set the publish date as 2 days ago the next cron cycle should pick it up, change the status to published and the publish date as 2 days ago.

Is this not working for you?

@ComfortablyCoding
Copy link
Contributor

Closing due to inactivity. We can re-open if suggested steps do not work.

@minht11
Copy link
Author

minht11 commented Oct 27, 2023

Sorry for taking so long. We had issues with updating strapi, I wanted to make sure we are on latest version. Now we are on Strapi 1.15 and Publisher version 1.5.2. Setting date back in time, for example one year ago, doesn't work. Published at date is still returned the same.

@ComfortablyCoding
Copy link
Contributor

ComfortablyCoding commented Oct 29, 2023

If the entry is already published then it will not override the date that has already been set.

I am not opposed to introducing a setting for controlling this.

What is the use case for why you need to frequently re-set the published date? If this is a one off then a faster way would be to do it via the API

@ComfortablyCoding ComfortablyCoding changed the title Allow setting pushblish date back in time. Allow setting publish date back in time. Oct 30, 2023
@minht11
Copy link
Author

minht11 commented Oct 30, 2023

Our non technical people want to change pusblish date, for blog articles and so on. Without an UI its difficult to do that. Since this plugin already deals with publishing, it seems natural place to have this functionality.

@ComfortablyCoding ComfortablyCoding changed the title Allow setting publish date back in time. [FR] Allow re-setting publish date Oct 30, 2023
@ComfortablyCoding ComfortablyCoding added the enhancement New feature or request label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants