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

Issue Type: Bug Created: 2009-09-09T09:56:38.000+0000 Last Updated: 2012-11-20T20:53:16.000+0000 Status: Closed Fix version(s): Reporter: Kim Blomqvist (kblomqvist) Assignee: None Tags: - Zend_Dojo

Related issues: Attachments:


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

<pre class="highlight">
                '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.

<pre class="highlight">
$this->addElement('DateTextBox', 'calendar', array(
    'required'     => true,
    'label'        => 'calendar',
    'formatLength' => 'short',
    'locale'       => 'en',


Posted by Rob Allen (rob) on 2012-11-20T20:53:16.000+0000

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.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.