Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there any reason for the extra logic on line 190 of date_repeat_form.inc ?
'#default_value' => !empty($EXCEPT) ? $EXCEPT : '0000-00-00 11:59:59',
This causes the exception field to be auto-filled with today's date, which is not expected.
Why not just use this:
'#default_value' => $EXCEPT,
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedThat looks like something that got left in accidentally from earlier changes. Committing a fix.