Calendar Starting Year

Hello,

Where can I change the calendar starting year? The default is 2007.

In site_properties the default is 2001.

Thanks,
Rafahela

hi, Rafa! you need to give us more background: what Plone version? any specific add-on?

Hi,

I'm using Plone 4.3.15. My code:

date_affiliation = schema.Date(
title=_(u'Date of affiliation'),
min=START_REPUBLIC_BRAZIL,
required=True,

form.widget(birthday=DateFieldWidget)
birthday = schema.Date(
title=(u'Birthday'),
description=
(u''),
required=True,
max=MAX_BIRTHDAY,
min=MIN_BIRTHDAY,
constraint=check_birthday,
)

Thanks,
Rafahela

seems to me you're referring to this code:

and I see you're using a custom widget for it:

which inherits from plone.formwidget.datetime.

have you tried adding a default directive on the field you want the default value?

as you can see in Dexterity's documentation, all fields can have such directive.