Just wondering why you use regular expressions to parse the user-entered date...? Why not just a PHP function?
I ask because I tried using the format 'j M Y' in the Scheduler settings, but this came up with errors. I'm assuming because you didn't allow for this in your _scheduler_strptime() function.
Also, why does giving an unpublish date of 01/01/2011 revert to 31/12/2010?
Comments
Comment #1
eric-alexander schaefer commentedThere is no such function in PHP4. _scheduler_strptime() mimicks some of the functionality of strptime() which was introduced with PHP 5.1.0. If you know another PHP 4 function, that has the same functionality, please point me to it. The whole issue vanishes with D7, I guess...
Comment #2
eric-alexander schaefer commentedBTW: You should not use "date only" format. You should alway provide a time value...