Source code for org.forms.util

from dateutil.rrule import MO, TU, WE, TH, FR, SA, SU

from onegov.org import _


[docs] WEEKDAYS = ( (MO.weekday, _('Mo')), (TU.weekday, _('Tu')), (WE.weekday, _('We')), (TH.weekday, _('Th')), (FR.weekday, _('Fr')), (SA.weekday, _('Sa')), (SU.weekday, _('Su')), )
[docs] TIMESPANS = ( (0, _('Disabled')), (182, _('6 months')), (365, _('1 year')), (712, _('2 years')), (1068, _('3 years')), )