Project

General

Profile

« Previous | Next » 

Revision 9de67cc5

Added by Benjamin Dauvergne about 10 years ago

agenda/models: add fifth week of the month option to the PERIODICITIES list

Also fix recurrent event created since change of week-rank 4 semantic
(fifth-week instead of last week).

fixes #4584

View differences:

calebasse/agenda/models.py
86 86
            (7, u'La deuxième semaine du mois'),
87 87
            (8, u'La troisième semaine du mois'),
88 88
            (9, u'La quatrième semaine du mois'),
89
            (13, u'La cinquième semaine du mois'),
89 90
            (10, u'La dernière semaine du mois'),
90 91
            (11, u'Les semaines paires'),
91 92
            (12, u'Les semaines impaires')
......
151 152
        (None, 1, None),
152 153
        (None, 2, None),
153 154
        (None, 3, None),
154
        (None, 4, None),
155
        (None, -1, None),
155 156
        (None, None, 0),
156
        (None, None, 1)
157
        (None, None, 1),
158
        (None, 4, None),
157 159
    ]
158 160

  
159 161
    class Meta:

Also available in: Unified diff