ZF-7814: setLocale() for DateTextBox form element doesn't work


I have installed Dojo locally and bootstrapped it in the following way:

                'parseOnLoad' => true,
                'locale' => $language       // Set language
             ->setLocalPath($fc->getBaseUrl() . '/js/dojo/dojo.js')
     ->disable();                   // Enable only when necessary

If I try to change DateTextBox locale from default ($language in bootstrap) to something else, for example to en, by using setLocale(), nothing happens.

$this->addElement('DateTextBox', 'calendar', array(
    'required'     => true,
    'label'        => 'calendar',
    'formatLength' => 'short',
    'locale'       => 'en',


Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.