1

When displaying recurring event dates for end users I would like to hide a part of the repeat rule (the until date has no meaning for end users):

Current display:

Repeats every week every Thursday until Mon Dec 31 2012

Expected display:

Repeats every week every Thursday

How to do this ?

1 Answer 1

5

The recurrence description is defined in date_repeat_rrule_description() in date_repeat.module.

At this time, there is no way for themes to change it. See this issue: http://drupal.org/node/342665

EDIT

Actually, you may override theme_date_repeat_field(), which calls date_repeat_rrule_description(). You could call your own version of that function to customize the display.

This would leave the contrib modules untouched, but you would be duplicating some effort and have more code to maintain.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.