[SOLVED] Skipped dates not working
-
Skip dates didn’t work for me either, but I found the cause: the following code near line 330 in class-frontend.php.
if ( strtolower( $skipped_date[‘type’] ) === strtolower( date_i18n( ‘D’, $time ) ) ) {
date_i18n returns different values depending on the default locale of WordPress. So use date( ‘D’, $time ) instead of date_i18n( ‘D’, $time ). Then it will work fine.
If you use date, make sure you have the correct timezone set in php.ini.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[SOLVED] Skipped dates not working’ is closed to new replies.