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

Publishing every time #15

Closed
GautierDele opened this issue Mar 2, 2022 · 7 comments · Fixed by #16
Closed

Publishing every time #15

GautierDele opened this issue Mar 2, 2022 · 7 comments · Fixed by #16
Labels
bug Something isn't working

Comments

@GautierDele
Copy link
Contributor

GautierDele commented Mar 2, 2022

On a linux server, it seems like the plugin is publishing not relating on the date. Even if I put a date that is far in time to publish:
image
image
When the cron action gets launched, the entry get published not considering the date.
image

I checked dates and they seem great:
image

@ComfortablyCoding
Copy link
Contributor

What version of strapi and the plugin are you running?

@GautierDele
Copy link
Contributor Author

Strapi 4.1.1
Plugin 1.1.2

@ComfortablyCoding
Copy link
Contributor

The last fully tested version was 4.0.7, it looks like they changed how dates work in 4.0.8+ which is the cause of this. I will look into releasing a fix for this.

From my testing for this issue it looks like on 4.1.2 the filtering seems to be broken completely. It is not a plugin issue as it works fine in previous strapi versions. I will need to investigate this further to see if i can find the changes that cause it.

@ComfortablyCoding ComfortablyCoding added the bug Something isn't working label Mar 3, 2022
@GautierDele
Copy link
Contributor Author

I'm on it, will publish a PR when fixed with french localizations

@neilpoulin
Copy link

this is not working for me still, it seems like ever time the minute changes that any schedueld action is fired - publishing or unpublishing.

I'm using:
strapi 4.1.5
strapi-plugin-publisher: 1.1.3

@ComfortablyCoding
Copy link
Contributor

Its possible something changed again between 4.1.2 -> 4.1.5. I will investigate this further and see if I can reproduce the issue.

@GautierDele
Copy link
Contributor Author

Working fine on my side. Did you publish your project ?

npm run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants