[dojo-Interest] Help with dojo.date.parse

Diego Carrion dc.rec2 at gmail.com
Mon Jan 8 04:01:25 MST 2007


Hi, i want to validate a date with dojo.date.parse but im having some 
problems.

First, i tried this :

    dojo.date.parse('04/05/2006', {locale:'zh-cn'})


and i got the next message :

    FATAL exception raised: Bundle not found: gregorian in
    dojo.i18n.calendar , locale=zh-cn

Then i tried with "locate=en-us" and the result was :

    null



I have a date in the format "dd/mm/yyyy" and i want to validate it, i 
guess the locale is pt-br . Its must be very simple,as the others dojo 
functions, but for some reason im not figuring it correctly. Any help or 
light would be nice.

Thanks

Diego Carrion



More information about the Dojo-interest mailing list