In preparation for an official final Release Version 1.0 within a month or two, we're just about to stamp the current Datejs code in SVN as Beta.
But... we need some help. One area where we have not received much feedback is testing the Parser with cultures/languages outside of English.
The Datejs library should properly parse month and day names (both full and abbreviated strings) in over 150 different cultures.
The variations of German, Spanish, French and most European culture parsing seem good.
The big unknown cultures are Arabic and Chinese.
Haven't heard much feedback from India either.
The following list details the cultures we're most interested in receiving feedback:
- Arabic (Saudi Arabia) date-ar-SA.js (or any other Arabic culture)
- Chinese (People's Republic of China) date-zh-CN.js
- Punjabi (India) date-pa-IN.js
- Russian (Russia) date-ru-RU.js
- Thai (Thailand) date-th-TH.js
If any developers could confirm the Datejs Parser is working (or not) in any of the above cultures, we would really appreciate the thumbs up/down. By "working", we're specifically interested in whether the Parser is correctly parsing Day and Month names in each culture and whether the expected date format for that culture parses properly.
If the following strings (translated into the appropriate language) return the proper date, things should be good.
Date.parse('July 2008'); Date.parse('Sat July 3, 2004'); Date.parse('Dec'); Date.parse('monday');
The parser ships with some date phrase support (eg. 'today', 'next march'), although those strings may require translation. A couple cultures have already been translated by the community and available for download from the Datejs forums.
To test your culture, download a culture-specific file from SVN /trunk/build/ and add to any web page. If you are using FireFox, the easiest way run test scripts is with FireBug.
Thanks for the help.