Here's a patch that will allow the site admin to configure what gets displayed for the 'Repeats every week until the 1st of January' string. Sometimes the word 'Repeats' sounds quite artificial in certain contexts - eg for a sports race it might be more natural to say 'Takes place every Saturday' (and even append 'Next race:' at the end, as the date of the next edition of the race is displayed after the 'Repeats...' string).

I have created a text area form in which the admin can access the !interval, !bymonth ect variables to display text. at the moment, this form has its own page, although perhaps it would be more elegant if it were appended to the main date settings form.

Perhaps it can be combined with the proposed changes in #583192: Improve readability and accuracy of repeat rule display text to ensure 1) better default behaviour and 2) ability to configure display for users. (I hope I did the right thing in submitting this as a seperate issue)

CommentFileSizeAuthor
date_repeat_display.patch3.17 KBnirbhasa

Comments

nirbhasa’s picture

Just bumping my own issue here...sorry :)

If you dont get around to it anytime soon that's ok, having had a look at the innards of the Date module I really appreciate all the work that goes into it.

arlinsandbulte’s picture

Status: Needs review » Closed (duplicate)

I'm marking this as a dupe of #583192: Improve readability and accuracy of repeat rule display text.
Please contribute there if you are interested in this patch.