configurating repeat date for recurring events

Hi there!
I read in documents to setup the repeat end as e.g.:

scheduler.config.repeat_date = “%m/%d/%Y”;

I put this config in init(), but it didn’t work. The value and formart is always the same default ‘01.01.2010’.

So, is there other way to setup this value?

Are you using default or some custom locale?

I am using custom locale (pt)

In locale_recurring_pt.js locate the next line

and replace it with

Same fix will be included in the next version.

The locale file was correct =(
The only way was change default value on dhtmlxscheduler.js, but it is fixed.