I’ve been using the Expiry stack from Will Woodgate without any problem until now, but it seems there’s an issue with dates set beyond this July.
Here is a test page, with the expiry date set to July 31
Again - without knowing the stack, I can only conjecture. But I’d have thought that if you do a local export of your project and locate the file in question you could open it in a text editor and take a look - just to see what may be wrong. (A literal is a variable which is set by the program not to… vary with circumstances; like indeed the number of days in certain months, so that the routine always ‘knows’, for example, that the maximum number of days in July or August for that matter is 31. But that may not be what is going on.)
I use Expiry on a daily basis. I entered a date of AUG 31 into one of my existing stacks and it works fine.
Mine sometimes stops working for “no” reason and if I remove leading zero’s it works again. Try making the “07” into “7” - My guess is some type of parsing error as sometimes “07” works and sometimes it needs be merely “7” (“7” is an example - this is true regardless of the digit)
Here is my current parameter for a report going “live” at 4:35:00 am EST Tuesday.
4,35,00,7,30,2019
Something somewhere indicates and shows leading zeros. I forget where. Too much water under the bridge. I just do whatever works. I’ve used this stack to “release” daily reports for years. Other than this very rare occurring “bug?” it works flawlessly. I love it and I highly recommend it. Again, may be a flaw elsewhere that is causing “good” parsing to mess up. But it only happens once in a great while.
Gee, I had thought of setting the month without the leading zero, and it didn’t work:
23,59,00,8,01,2019
Then I just tried without the leading zero in both the month and the day, and it works:
23,59,00,8,1,2019
I bet it’s related to content on the page and parsing. That’s just a guess. If you want to experiment copy the stack to a new blank page, add a text box with one letter, put the zero’s back in and see if it works.
by the way… I also use Will’s Advanced Publisher stack (stacks4stacks) for timed content (weekly sale content) and I’ve never had a single time it didn’t work properly.
I use expiry in a context where I never know in advance when I’m going to publish the post. So, just programming the expiration is enough for the moment. But thanks for mentioning “Advanced Publisher”, although I had seen it already!