mirror of
https://github.com/pretix/pretix.git
synced 2026-09-13 16:14:40 +00:00
RRuleForm: allow selecting the fourth occurence of a weekday of a month (Z#23245893)
The fourth often is the same as the last, but not always. A weekday can appear five times in a month
This commit is contained in:
@@ -87,6 +87,7 @@ class RRuleForm(forms.Form):
|
|||||||
('1', pgettext_lazy('rrule', 'first')),
|
('1', pgettext_lazy('rrule', 'first')),
|
||||||
('2', pgettext_lazy('rrule', 'second')),
|
('2', pgettext_lazy('rrule', 'second')),
|
||||||
('3', pgettext_lazy('rrule', 'third')),
|
('3', pgettext_lazy('rrule', 'third')),
|
||||||
|
('4', pgettext_lazy('rrule', 'fourth')),
|
||||||
('-1', pgettext_lazy('rrule', 'last')),
|
('-1', pgettext_lazy('rrule', 'last')),
|
||||||
],
|
],
|
||||||
required=False
|
required=False
|
||||||
@@ -134,6 +135,7 @@ class RRuleForm(forms.Form):
|
|||||||
('1', pgettext_lazy('rrule', 'first')),
|
('1', pgettext_lazy('rrule', 'first')),
|
||||||
('2', pgettext_lazy('rrule', 'second')),
|
('2', pgettext_lazy('rrule', 'second')),
|
||||||
('3', pgettext_lazy('rrule', 'third')),
|
('3', pgettext_lazy('rrule', 'third')),
|
||||||
|
('4', pgettext_lazy('rrule', 'fourth')),
|
||||||
('-1', pgettext_lazy('rrule', 'last')),
|
('-1', pgettext_lazy('rrule', 'last')),
|
||||||
],
|
],
|
||||||
required=False
|
required=False
|
||||||
|
|||||||
Reference in New Issue
Block a user